I'm having a problem. Using the Date()
functions AS3 provides natively, I'm converting UTC time to local machine time.
The problem I have is this, look at month
and hour
.
2011-10-07 18:45:00 -> 2011-10-07 21:45:00
2011-11-07 18:45:00 -> 2011-11-07 20:45:00
This is probably because of the daylight saving, but I thought the native functions for date manipulations take this into consideration.
Am I right, that's the problem? I'm supposed to account for daylight savings myself? Or is it something different?