Use cases

For example if you sell tickets to events you can use this field to show the date and time of the event. You can also use this field to show the start/end date of a special offer for a particular product etc.


Options - Select Date to use date only or Date & Time to allow time select
Time format - Time can be in 12h or 24h format

Example Usage

{% assign date = %}

{% if date %}

    Special offer ends at: {{ date | date: "%Y-%m-%d %H:%M" }}

{% endif %}