Build a SysTime from a string

Dejan Lekic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 6 07:19:56 PDT 2016


On Wednesday, 6 July 2016 at 14:15:22 UTC, Andrea Fontana wrote:
> My problem is that from documentation I can't understand how to 
> set +01:00 timezone on systime. I guess I'm missing something...

As far as I know, you can't do that.

Quote from the documentation:
"""
Unlike DateTime, the time zone is an integral part of SysTime 
(though for local time applications, time zones can
"""

It does make sense, right? SysTime is object representing your 
system's time, and naturally it already has timezone set to the 
right (system) value.


More information about the Digitalmars-d-learn mailing list