toDate

Function to extract a Date from a binary encoded row.

Time/date structures are packed by the server into a byte sub-packet with a leading length byte, and a minimal number of bytes to embody the data.

  1. Date toDate(ubyte[] a)
    pure
    Date
    toDate
    (
    in ubyte[] a
    )
  2. Date toDate(string s)

Return Value

Type: Date

A populated or default initialized std.datetime.Date struct.

Meta