ISO_8601: Coerce to ISO 8601

ISO_8601R Documentation

Coerce to ISO 8601

Description

Coerce dates or datetimes to ISO 8601 format for Bamboo HR REST API.

Usage

as_ISO8601_character(datetime)

coerce_ISO8601(date)

Arguments

datetime

Character string. The datetime to coerce.

date

Character string. The date to coerce.

Details

Input can be simply given as a character string. See date_formats for allowed format types.

Value

Character string in ISO 8601 format.

Functions

  • 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.


bambooHR documentation built on Oct. 25, 2023, 5:07 p.m.