Ho John,

Please read this:
http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt155.htm

DateAdd("datepart", number, "date")

--------------------------------------
DateAdd(h,6,Now())
--------------------------------------

Regards,
Misha

-----Original Message-----
From: John Barrett [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 9:49 PM
To: CF-Newbie
Subject: cf time

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:3804
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to