toDate

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

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

  1. MySQLDate toDate(ubyte[] a)
  2. MySQLDate toDate(string s)
    toDate
    (
    string s
    )

Return Value

Type: MySQLDate

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

Meta