true if the value is a datetime (without timezone), false otherwise.bool isDateTime() @property const nothrow @nogc pure @safeCheck if this var holds a DateTime value.
More readable alternative to v.type == var.Type.DATETIME.
true if the value is a datetime (without timezone), false otherwise.var dt = DateTime(2024, 6, 15, 14, 30, 0);
assert(dt.isDateTime);
var d = Date(2024, 6, 15);
assert(!d.isDateTime);