NAME
SetDatetimeFormat — Set format that datetimes will be in.
SYNOPSIS
SetDatetimeFormat FormatString
DESCRIPTION
Return Value
None.
Arguments
FormatStringA string that will be subbed directly into calls to clock scan and clock format.
More Info
Defaults to {%Y-%m-%d %H:%M:%S}, which recognizes datetimes like 2000-01-02 03:04:05.

Be sure to include any additional flags (e.g. timezone).

See examples below and the documentation of clock for details.

For information about how to configure the format, see About Date and Time Commands.


For information regarding exceptions / errors, see here.
EXAMPLES
% Now
2000-01-02 03:04:05
% SetDatetimeFormat %m/%d/%Y %H:%M
% Now
01/02/2000 03:04
SEE ALSO
SetDateFormat, SetTimeOfDayFormat
KEYWORDS
datetime