Typing a date

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

You can use these three formats to specify the date and, optionally, time for a metadata property:

YYYY-MM-DD
YYYY-MM-DDThh:mm:ss
YYYY-MM-DDThh:mm:ssZ

In these formats:

YYYY
the four-digit year
MM
the two-digit month
DD
the two-digit day
hh
hours on a 24-hour clock
mm
minutes
ss
seconds
Z
the time is in UTC.

The first two of these formats are assumed to be in the same time zone as the HCP time setting. The third one is in UTC.

Here’s an example of a date and time in the second format shown above:

2011-11-04T14:00:00