I had a look, and 6.x is using application.fc.serverTimezone and application.config.general.applicationTimezone to convert dates. I don't know when this was introduced though.
Blair On Tue, Oct 12, 2010 at 7:22 AM, smika <[email protected]> wrote: > Thanks! > > Actually what i was looking for is this: > My website is hosted in US, so when admin is looged to webtop to > insert some news he should see the publishDate/expiryDate showing time > for GMT+4 (Yerevan,Armenia). > Same should happen on a client side, to display date/time for news > formatted as a time in Armenia. > At the point it shows server time, which is US time (GMT-6), so it is > irrelevant to user here. I can format the output to a proper one. > But i thought if there is any chance to use some global var in say > _serverSpecificVars, do display things properly both in webtop and in > client side. > > Thanks, > Mika > > On Oct 11, 5:17 pm, AJ Mercer <[email protected]> wrote: > > if you use LS date/time functions you can set the local for the country > > > > http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt278... > > > > http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt228... > > > > Or if you are running Railo you can set the timezone for the web context > > with the Railo Administrator > > > > On 11 October 2010 15:03, smika <[email protected]> wrote: > > > > > > > > > Dear friends, > > > > > is there any way to set a global time settings within an application? > > > The website we're currently developing is hosted in US, but the dates > > > i want to show in admin or for users should be Armenian time. > > > How we can achieve that? > > > > > Thanks, > > > > > Mika > > > > > -- > > > You received this message cos you are subscribed to "farcry-dev" Google > > > group. > > > To post, email: [email protected] > > > To unsubscribe, email: > > > [email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > For more options:http://groups.google.com/group/farcry-dev > > > -------------------------------- > > > Follow us on Twitter:http://twitter.com/farcry > > > > -- > > > > *AJ Mercer* > > <webonix:net strength="Industrial" /> <http://webonix.net> | > <webonix:org > > community="Open" /> <http://webonix.org>http://twitter.com/webonix > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
