toDateTime

Function to extract a DateTime 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. DateTime toDateTime(ubyte[] a)
    DateTime
    toDateTime
    (
    ubyte[] a
    )
  2. DateTime toDateTime(string s)
  3. DateTime toDateTime(ulong x)

Return Value

Type: DateTime

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

Meta