DateTime.toISOExtString

string toISOExtString() const @safe pure nothrow

Converts this DateTime to a string with the format YYYY-MM-DDTHH:MM:SS. If writer is set, the resulting string will be written directly to it.

Parameters

writerA char accepting output range

Returns

A string when not using an output range; void otherwise.
void toISOExtString(W)(ref W writer) if (isOutputRange!(W, char)) const

ditto