toDate

Function to extract a Date from a text encoded column value.

Text representations of a Date are as in 2011-11-11

  1. Date toDate(ubyte[] a)
  2. Date toDate(const(char)[] s)
    @safe
    Date
    toDate
    (
    const(char)[] s
    )

Return Value

Type: Date

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

Meta