On 1/25/07, Paul Hastings <[EMAIL PROTECTED]> wrote:
> Charlie Griefer wrote:
> > I've not done much with i18n, so I'm not really familiar with the
> > pros/cons of using getUTCDate() vs getDate().  Could you throw out a
> > few bullet points?
>
> using UTC datetimes isn't really i18n. it's used if you need UTC timezone (tz)
> data (like maybe you live in greenwich, GB) or more often when you need to
> support different tz in the same application. you "cast" all your "whatever" 
> tz
> datetimes to UTC when you insert them into your database. that makes 
> converting
> them to other tz simpler.
>
> of course this is all moot if your server's tz uses DST & you rely on cf's
> datetimes, all datetimes are server datetimes as far as cf is concerned.

Ah, got it.  Thanks, Paul :)

-- 
Charlie Griefer

================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267673
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to