Groups | Blog | Home
all groups > coldfusion flash integration > january 2007 >

coldfusion flash integration : Flex2 + Coldfusion Components + Date = ?


Thomas Friedl
1/19/2007 10:41:52 AM
I'm using Flex RemoteCalls to communicate with my Coldfusion components. Works
fine but today I found a wired "error/bug". Flex sends a date object to
Coldfusion - a trace in Flex shows "Wed Sep 3 00:00:00 GMT+0200 1980". My
Coldfusion log file shows "{ts '1980-09-03 00:00:00'} ". Now the interesting
part comes: if the date is below 1980 the Coldfusion date is one day off:

Flex: Mon Sep 3 00:00:00 GMT+0200 1979
Coldfusion: {ts '1979-09-02 23:00:00'}

Anybody knows why this happens? Any ideas?

Hope this is the right forum - I don't know if it's a Flex or a Coldfusion
error.
PaulH **AdobeCommunityExpert**
1/19/2007 6:01:18 PM
[quoted text, click to view]

flash clients will *always* push dates to the client's timezone (tz). so this
AddThis Social Bookmark Button