date and time
Joel Christensen
joelcnz at gmail.com
Sat Sep 25 17:48:54 PDT 2010
I've tried that module.
I was putting:
long dt = UTCtoLocalTime(getUTCtime - (msPerDay / 2));
Then when daylight savings came it was wrong, (computer was right mind).
long datetime = UTCtoLocalTime(getUTCtime);
It is 1 hour and half a day out. It was the right hour till daylight
savings. I live in New Zealand.
Some one said that module was a mine field.
> std.datetime is your friend.
>
> http://www.digitalmars.com/d/2.0/phobos/std_date.html
>
More information about the Digitalmars-d-learn
mailing list