timezone problem
Sergey Gromov
snake.scaly at gmail.com
Tue Jan 13 06:15:58 PST 2009
Tue, 13 Jan 2009 11:27:40 +0100, Qian Xu wrote:
> Hi All,
>
> I am fighting with date time conversion and have a problem right now:
> I want to convert a local timestamp to UTC timestamp.
> So I have to get the time zone information.
> However in some countries (ie. German, US), the offset is not constant,
> because of daylight saving issue.
>
> Is there any "hidden" routine can tell the correct time zone information
> (cross platform, esp. open suse)
>
> Any hints are apprecated ^^)
>
> --Qian
I thought that std.date.getUTCtime(), std.date.UTCtoLocalTime() and
std.date.LocalTimetoUTC() were quite enough.
More information about the Digitalmars-d-learn
mailing list