how about trying the same timeformat function stuff to a DateFormat function to return the adjusted day?
tony -----Original Message----- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 7:34 PM To: CF-Talk Subject: Re: Timezones and CF Just an to clarify the + 5 hours, works apart from it doesn't accommodate the date... so if its Wednesday 7.05pm in the US - then it should be 12.05 Thursday here... whoo! dateadd works... although... the +5 hours get the right time... the date is still the previous day i.e.. 12.05 Wednesday not Thursday... Dates and timezones really mess my brain! > > is... on my date > > fields... its says it's Sunday.... not Monday as it is here. > > That's amazing -- it's Wednesday here! > > So does this code work? > > > <cfoutput>#timeformat(dateadd("h",5,now()),"HH:mm")#</cfoutput> > > I would recommend adding a line to application.cfm or similar: > > <cfset request.gmt = dateadd("h",5,now())> > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

