Hi all, 

is this maybe a DateFormatter bug or am I doing something wrong?

When I use a Date object that is initialized with 0 (Zero) then I
can't get that value formated (with my German environment) using the
DateFormatter.

Here is my code:

var myDateFormatter: DateFormatter = new DateFormatter();
var myDate: Date = new Date(0); //should be 1/1/1970
                                
myDateFormatter.formatString = "JJ:NN"; //only show the time
                                
trace(myDateFormatter.format(myDate)); // <-- returns an empty string!!!

I know I would work - if I add a day because myDate shows a timeOffset
of -60 (1 hour) - and that's before the 1/1/1970

Any suggestions?

Thanks Markus

Reply via email to