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


Reply via email to