This is not really the responsibility of Reactor.  Time is based upon the server time and the database server time.  A custom setter would be a good approach or just update the setter's value with ColdFusion modified code by it.

Teddy

On 9/1/06, Hayes, Kyle D <[EMAIL PROTECTED]> wrote:
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



--
<cf_payne />

Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to