DateAdd("datepart", number, "date")
h: Hour
On Wed, Jul 9, 2008 at 8:48 PM, John Barrett <[EMAIL PROTECTED]> wrote:
> Can somebody tell me how to convert different times using timeFormat?
> My server is in New Jersey, but I would like to use hawaii time. I found out
> that New Jersey is 6 hours ahead of me.
>
> I tried:
> <cfset time = Now()-6>
> <cfoutput>The time= #TimeFormat(time,'h:mm tt')#</cfoutput>
>
> No no luck. Is there a trick to this? I look in the docs, but I could not
> find a solution.
>
> Thanks for any help:)
> John
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3801
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15