Hullo,
I wondered if someone could help me... also I'm new here... please be
gentle.
I have a problem with adding dates and times - I just can't get my head
around it - and at the moment it doesn't work
<cfoutput>#timeformat(dateadd("h",5,now()),"HH:mm")#</cfoutput>
whoo.... give me the correct time here in the uk.. the server my application
is on is in NYC so in US terms I am 5 hours in front of there.
Which I thought was great... until I just tried it... it about 01:00 am.
That code turns the time in NYC 8.00 pm... the only problem is... on my date
fields... its says it's Sunday.... not Monday as it is here. 16 September
UK - 15 September NYC
As a note I do not want to use the local machines clock.. as people always
mess with them...
Also, I couldn't care less about daylight saving etc... just nearly the
right time on the right day..
Can anyone help?
Mark
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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