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

2020-09-25 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
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

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

2020-09-24 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Sep 24, 2020 at 08:36:38PM -0400, James Blachly via Digitalmars-d-learn wrote: > On 9/24/20 6:22 PM, mw wrote: [...] > > I'm just wondering what's the best way to convert sysTime to local > > machine's time (zone)? [...] > It is definitely not easy to find. > >

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

2020-09-24 Thread James Blachly via Digitalmars-d-learn
On 9/24/20 6:22 PM, 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

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

2020-09-24 Thread mw via Digitalmars-d-learn
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.