Clock.toDate

Set fields to represent the provided UTC time. Note that the conversion is limited by the underlying OS, and will fail to operate correctly with Time values beyond the domain. On Win32 the earliest representable date is 1601. On linux it is 1970. Both systems have limitations upon future dates also. Date is limited to millisecond accuracy at best.

  1. DateTime toDate()
  2. DateTime toDate(const(Time) time)
  3. DateTime toDate()
  4. DateTime toDate(const(Time) time)
    struct Clock
    version(Posix)
    static
    DateTime
    toDate
    (
    const(Time) time
    )

Meta