How to get the current Timezone

wobbles via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 28 07:07:36 PDT 2015


 From the docs in std.datetime, I figured I could write:

Clock.currTime.timezone().name()

to get the timezone this system is in. However, it just returns 
an empty string.
Anyone know how to get the timezone of the machine easily?

Thanks!


More information about the Digitalmars-d-learn mailing list