Coerce dates or datetimes to ISO 8601 format for Bamboo HR REST API.
as_ISO8601_character(datetime)coerce_ISO8601(date)
Character string in ISO 8601 format.
Character string. The datetime to coerce.
Character string. The date to coerce.
as_ISO8601_character(): Coerce datetime into ISO8601 format. This will convert
represent the datetime relative to UTC using + notation. Milliseconds are
removed.
coerce_ISO8601(): Coerce a date to ISO8601 format. This will convert the date
into UTC (applying Z notation) and remove any milliseconds.
Input can be simply given as a character string. See date_formats for allowed format types.