How to get the current Timezone
WhatMeWorry via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Aug 28 10:59:05 PDT 2015
On Friday, 28 August 2015 at 14:18:24 UTC, Adam D. Ruppe wrote:
> On Friday, 28 August 2015 at 14:07:37 UTC, wobbles wrote:
>> However, it just returns an empty string.
>
> from the doc:
>
> Note that this always returns the empty string. This is because
> time zones cannot be uniquely identified by the attributes
> given by the OS (such as the stdName and dstName), and neither
> Posix systems nor Windows systems provide an easy way to get
> the TZ Database name of the local time zone.
Stupid question. If it always returns an empty string, why is it
even there?
More information about the Digitalmars-d-learn
mailing list