Get Started
Mobile Integrations
Ingesting Data into Marketing Cloud Personalization
Boolean Property
String Property
Number Property
Color Property
DateTime Property
Complex Object
Select Property
Multiselect Property
Arrays
Decorators
Static Values
A date picker input.
1dateProperty: DateTime;
The value returned from the selection is structured as an object with a single dateTime property. The property is an array of strings representing the date and time in ISO 8601 format (for example, 2019-10-08T16:00:00.000Z).
The object structure is as follows:
1{
2 dateTime: string[]
3}Even if the DateTime picker only intends to return a single date, it still returns an array.
Note
The picker can be configured to return a range using the @range decorator.
1@range(true)
2dateProperty: DateTime;In this case, the returned array value has the start of the range in the 0 index of the array, and the end of the range in the 1 index.