getting current DateTime

bitwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 31 11:07:13 PST 2014


> Why do you need DateTime and not SysTime?
>
> I'm actually surprised it doesn't have that too...
>
> -Steve

Initially I was looking for something that would be the 
equivalent to DateTime in C#. This now appears to be SysTime, not 
DateTime in D.

It seems the only real reason to use DateTime is as an 
optimization.

 From DateTime docs:
"It is optimized for calendar-based operations and has no concept 
of time zone."


More information about the Digitalmars-d-learn mailing list