Function OSSingleton.getDatetime

Returns current datetime as a dictionary of keys: year, month, day, weekday, dst (Daylight Savings Time), hour, minute, second.

Dictionary getDatetime (
  const(bool) utc = false
) nothrow @nogc const;