Time from timestamp?
Chris Williams via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jan 30 15:42:04 PST 2015
On Friday, 30 January 2015 at 22:38:21 UTC, Chris Williams wrote:
> On Friday, 30 January 2015 at 22:22:27 UTC, Rikki Cattermole
> wrote:
>> On a slightly related note, I have code for UTC+0 to unix time
>> stamp.
>> https://github.com/Devisualization/util/blob/b9ab5758e755c4e33832ac4aed0a5d7f2c728faf/source/core/devisualization/util/core/time.d
>
> Unix timestamps can be negative, so you should probably be
> using longs instead of ulongs.
Yup, there was a world before January 1st, 1970.
More information about the Digitalmars-d-learn
mailing list