Time, Time Zone and the total mess...
07 05 2009
So, I realized that in my toy app all times where off by two hours. I thought »Ha, that's easy.« and now I'm officially surrendering.
I created a quite simple testcase, and even that one tries to tell me that these times are the same:
So, until now I thought "+0200" means »two hours ahead of UTC«. Why is it supposed to be one nowadays?
So now my questions: Is this Ubuntu Hardy, I'm using here, a total mess? Do I do something wrong? Doesn't this work at all? Why does it keep trying to pretend that these times are the same?
Comments :
5 Comments »
I created a quite simple testcase, and even that one tries to tell me that these times are the same:
2009-05-07 12:00:00 +0000
2009-05-07 13:00:00 +0200So, until now I thought "+0200" means »two hours ahead of UTC«. Why is it supposed to be one nowadays?
So now my questions: Is this Ubuntu Hardy, I'm using here, a total mess? Do I do something wrong? Doesn't this work at all? Why does it keep trying to pretend that these times are the same?
Trackbacks : 1 Trackback »
Defined tags for this entry: FLOSS



Tracked: Nov 01, 11:16