Date.toSimpleString

string toSimpleString() const @safe pure nothrow

Converts this Date to a string with the format YYYY-Mon-DD. 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 toSimpleString(W)(ref W writer) if (isOutputRange!(W, char)) const

ditto