Well to get a Universal Time from coldfusion you use the
following:
<cfset utc=DateConvert("local2utc",now())>
Date/Time: <cfoutput>#utc#</cfoutput>So you could probably place this in your setter for the date field?Kyle Hayes
Web Developer / Programmer
WebAID - Anaheim
Boeing Information
Technology
714.762.2894
[EMAIL PROTECTED]
From: Doug Arthur [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 8:11 AM
To: [email protected]; [email protected]
Subject: [Reactor for CF] date timezone differences!!!
When using a dateField and datefield.selectedDate and adding/updateing
records in the database, users in different time zones results in an inaccurate
date.
The server is central timezone.
Example, someone in eastern time choose 9/15/2006, the database shows
9/14/2006 23:00:00.
Is there a way to configure dates so they don't use a timezone?
Also note, I'm using reactor, so I'm not sure how I would handle this on
the CF side since reactor is inserting/updating the values that flex passes
over.
- Doug
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
