date_setFormat

Sets the default date format.

Target function

Signature

1date_setFormat(format::string)

Sets the default date format.

date_setFormat is a global callable that can be used wherever an expression is valid. date_setFormat handles calendar, duration, or formatting behavior. Store values in structured date or duration form and format them only when presenting text.

Parameters

format
Required value of type string. Supply format positionally unless the signature shows a keyword form.

Examples

Basic call

1date_setFormat('%Y-%m-%d')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.