On 1/31/15 1:07 AM, Jonathan M Davis via Digitalmars-d-learn wrote:
On Friday, January 30, 2015 22:03:02 Jonathan M Davis via Digitalmars-d-learn
wrote:
Yeah. I really should add a unixTimeToSysTime function,
Actually, maybe it should be a static function on SysTime called
fromUnixTime to go with toUnixTime. I don't know. Regardless, it's a nicety
that should be there, and I botched things by not having it.
Might I suggest that you simply define an enum for UnixEpoch that's a
SysTime. Then you can do whatever you want.
Note that unixTimeToSysTime doesn't help the OP, his timestamp is in
milliseconds since 1/1/1970.
-Steve