std.date time problem
Stewart Gordon
smjg_1998 at yahoo.com
Tue Aug 21 15:00:12 PDT 2007
Regan Heath Wrote:
> I think this is a bug, but I can't be sure.
Yes, in your code.
<snip>
> d_time now = UTCtoLocalTime(getUTCtime());
> writefln("%s", toTimeString(now));
<snip>
http://www.digitalmars.com/d/archives/digitalmars/D/learn/3205.html
"It isn't documented but the input to toTimeString() is assumed to be UTC, and it outputs a Local time string."
Stewart.
More information about the Digitalmars-d
mailing list