Date.toString

nuint toString(const this, prep char[] buffer = default)

Formats this date as YYYY-MM-DD.

Remarks

Formatting writes into the caller-provided buffer when space is available and returns the required character count. Field ranges are not checked during formatting.

Parameters

const
this
prep char[]
buffer = default

Destination buffer.

Generated with campc v0.5.0-preview.1+2b78205f20cc35300dd4c17a3cb23f4089aa8243.