Timestamp.this

Examples

import std.datetime.date : DateTime;
auto dt = DateTime(1982, 4, 1, 20, 59, 22);
Timestamp ts = dt;
assert(dt.toISOExtString ~ "Z" == ts.toString);
assert(dt == cast(DateTime) ts);

Meta