These functions format and parse dates and times
in a wide variety of formats and locales.
FormatDate
The FormatDate function formats a date value
according to a formatter defined with the NewDateFormatter function.
NewDateFormatter
The NewDateFormatter function defines a date
formatter. It returns an index for use in the ParseDate and FormatDate
functions. The indices start at 0 and go up by one for each call to
NewDateFormat. Date formatters are valid during execution of the process.
ParseDate
The ParseDate function parses a date string
according to a formatter defined with the NewDateFormatter function.