Format of UTC dates

This document describes how dates must be formatted to conform to a UTC date.that will be accepted by the PayCore API.

UTC Date Time String Format

The supported date-time formats are based upon a simplification of the ISO 8601 Extended Format. The format is as follows: YYYY-MM-DDTHH:mm:ssZ


The API also supports these formats,

  • YYYY-MM-DD HH:mm:ssZ      
  • YYYY-MM-DD HH:mmZ
  • YYYY-MM-DDTHH:mmZ
  • YYYY-MM-DD HH:mm:ss.sssZ 
  • YYYY-MM-DDTHH:mm:ss.sssZ 

Where the fields are as follows:

YYYYis the decimal digits of the year in the Gregorian calendar.
-is the date-separator between year, month and day.
MMis the month of the year from 01 (January) to 12 (December).
DDis the day of the month from 01 to 31.
TIndicates the beginning of the time element.
HHis the number of complete hours that have passed since midnight as two decimal digits.
:is the time-separator between hours, minutes and seconds.
mmis the number of complete minutes since the start of the hour as two decimal digits.
ssis the number of complete seconds since the start of the minute as two decimal digits.
.is the separator before milliseconds.
sssis the number of complete milliseconds since the start of the second as three decimal digits.
Zis the time zone offset specified as “Z” (for UTC) or either “+” or “-” followed by a time expression hh:mm

Feeling lost? Click on this link! Portal page