I’ve developed an FLEX application for distributed data administration. When our Asian employees specify a date, it will be saved +1 day.
If I check my timezone offset it is +60, their offset is +520.
var dNow:Date = new Date();
trace("Your time zone offset: " + dNow.getTimezoneOffset() + " minutes");
I assume this is the problem? If so, would you suggest that I correct the entered date by 460 minutes before sending it to our server for saving? How to do that?
Finally I’ve implemented this solution:
get the data from the server as ISO String (with coldfusion to a MS SQL Server):
then when receiving it I convert it in the ValueObject (following the Cairngorm framework):
to send the date to the server as ISO String:
Feel free to ask for additional information!