ExpressionEngine® 3 User Guide

Legacy Documentation

You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.

Date

The Date field allows for quick entry of dates via the publish form. When the field has focus, a date-picker appears in the form of a calendar where you can select a day to enter into the field.

Field Options

Localized or Fixed?

On the publish form, along with a field to enter a date, you will also see an option to select whether you want the date localized or fixed:

  • Localized: A date that is localized will be translated into the logged-in member’s current timezone. For instance, if you enter a date of 10/21/2015 4:29 PM and you’re in Pacific Daylight Time, a member in Eastern Daylight Time will see the date as 10/21/2015 7:29 PM. Or, for logged out members, the date will be localized on the front-end according to the site’s configured timezone.
  • Fixed: A fixed date will NOT be localized to a member’s timezone, or the site’s configured timezone. The date will appear as it does in the control panel everywhere by all members.

Template Tags

Date fields render as regular date variables on the front-end. The template parser gives great flexibility when displaying date variables. Visit Date Variable Formatting to see all that is possible.