toDateTime

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

Text representations of a DateTime are as in 2011-11-11 12:20:02

  1. DateTime toDateTime(ubyte[] a)
  2. DateTime toDateTime(const(char)[] s)
    @safe
    DateTime
    toDateTime
    (
    const(char)[] s
    )
  3. DateTime toDateTime(ulong x)

Return Value

Type: DateTime

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

Meta