what's the best way to convert a sysTime to local machine's time (zone)?

Ferhat Kurtulmuş aferust at gmail.com
Fri Sep 25 12:30:43 UTC 2020


On Thursday, 24 September 2020 at 22:22:13 UTC, mw wrote:
> Hi,
>
> I'm just wondering what's the best way to convert sysTime to 
> local machine's time (zone)?
>
> Is there any library function does this already?
>
>
> https://dlang.org/phobos/std_datetime_systime.html#SysTime
>
> (The time in SysTime is kept internally in hnsecs from 
> midnight, January 1st, 1 A.D. UTC.)
>
> Thanks.

This library may help:
https://code.dlang.org/packages/hunt-time


More information about the Digitalmars-d-learn mailing list