On Tuesday, 31 March 2015 at 11:51:26 UTC, drug wrote:
import std.datetime;
import std.stdio;

void main()
{
        long.max.SysTime.toISOExtString.writeln;
}

dmd 2.065 (dpaste.dzfl.pl):
+29228-09-14T02:48:05.4775807

dmd v2.067-devel-c6b489b (using Digger):
-29227-04-20T00:11:54.5224191

could somebody confirm it?

The difference is in time zones. So it's no surprise that the output is different.

The negative value is probably because the internal `long` wraps around when the difference from your time zone is added to the UTC time. I don't know if this is acceptable.

Reply via email to