Supported Date Formats

Dates and times are inherently important to events. Event Espresso uses the date and time settings of your WordPress website general settings to manage when events start selling, stop selling, when events close, and in the communication to attendees. If the timezone settings in the WordPress > Settings > General screen are not correct, your events may not function correctly or attendees may be confused.

Thus, it is important that you configure or confirm the date and time settings for you WordPress website. Here are a few examples of supported date formats that you can use when you set up the date format and time on the WordPress > Settings > General screen.

  • F j, Y — January 15, 2019
  • j.F.Y — 15.January.2019
  • Y/m/d — 2019/01/15
  • m/d/Y — 01/15/2019
  • d-m-y — 15-01-2019
  • y-m-d — 19-01-15

Each format character represents:

  • F = Full textual name for the month.
  • M = Abbreviated textual name for the month.
  • m = The month with leading zeros.
  • n = The month without leading zeros.
  • d = The day of the month, with leading zeros.
  • j = The day of the month without leading zeros.
  • Y = The year in 4 digits. (lower-case y gives the year’s last 2 digits)

A note from the official PHP documentation explains how the month and day are determined when converted from a string:

Dates in the m/d/y or d-m-y formats are disambiguated by looking at the separator between the various components: if the separator is a slash (/), then the American m/d/y is assumed; whereas if the separator is a dash (-) or a dot (.), then the European d-m-y format is assumed.

Examples of non-supported formats that PHP can’t disambiguate follow:

  • d/m/Y
  • j, F Y

Need more help?

  • Browse or search for more information on this topic in our support forums. Customers with an active support license can open a support topic and get help from Event Espresso staff.
  • Have an emergency? Purchase a support token and get expedited one-on-one help!
  • Go back to documentation for Event Espresso
Event Espresso