What you need to do is stop using now(). Create your own variable
containing the correct time as I suggested earlier, e.g. by adding
<cfset request.gmt = dateadd("h",5,now())> to application.cfm.Then whenever you would use now() use request.gmt instead. <cfoutput>#timeformat(request.gmt,"HH:mm")#</cfoutput> <cfoutput>#dateformat(request.gmt,"dd/mm/yyyy")#</cfoutput> > -----Original Message----- > From: Mark [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 18 September 2002 11:51 a.m. > To: CF-Talk > Subject: Re: Timezones and CF > > > The date only needs be updated between 12.00 midnight and > 5.00am gmt - and > to add insult to injury - what about Daylight savinng that > happens just > about halloween? > > > You seem to be saying <cfoutput>#dateadd("h",5,now())#</cfoutput> > > doesn't increment the day. Try this test, > > > > <cfoutput> > > #now()#<br> > > #dateadd("h",24,now())# > > </cfoutput> > > > > You should find the date has advanced by one. > > > > > ______________________________________________________________________ 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

