{{ Datetime }}

Field used to store a date and time. All dates are stored in UTC time. There is currently no built-in way for the template to format the date or convert it to a different timezone. To do that, you will have to use filters.


true/false is_valid
True if the value is not empty
String field_id
The name of the custom field
String value
Unformatted datetime string (in UTC)
String properties
Any additional properties used to configure this field
String output
<span class="mp-field-value mp-field-datetime">datestring</span>

Sample Use

{% if entity.event_start.value %} <p>Rehearsal will begin on {{ entity.rehearsal_start.value | date: "MMMM dd, yyyy 'at' h:m t" }} UTC</p> {% endif %}