SysTime.timezone

The current time zone of this SysTime. It's internal time is always kept in UTC, so there are no conversion issues between time zones due to DST. Functions which return all or part of the time - such as hours - adjust the time to this SysTime's time zone before returning.

  1. immutable(TimeZone) timezone [@property getter]
  2. TimeZone timezone [@property setter]
    struct SysTime
    @property @safe pure nothrow scope
    void
    timezone
    (
    immutable TimeZone timezone
    )

Parameters

timezone TimeZone

The std.datetime._timezone._TimeZone to set this SysTime's time zone to.

Meta