The DataRobot APIs expect dates formatted as RFC 3339 strings. This is the same as ISO 8601. To be safe, use UTC as the timezone (and format it with a 'Z' suffix), and use 'T' as the date/time separator.
formatRFC3339Timestamp(date)
POSIXt or date. The date(s) to be formatted.
Other API datetime functions:
RFC3339DateTimeFormat
,
parseRFC3339Timestamp()
,
transformRFC3339Period()
,
validateReportingPeriodTime()