Date and time formats
Dates and times on the booking pages and in emails use formats from the language files. Change them with System > Language Overrides: choose the site language (and the administrator language for administrator screens), click New, enter the constant and your format, and save.
The constants
| Constant | Default | Used for |
|---|---|---|
COM_EASYSERVICESBOOKING_SUCCESS_DATE_FORMAT |
d/m/Y |
The booking date on result pages, self service and in emails (|*dtstart*|, {{dstart}}) |
COM_EASYSERVICESBOOKING_SUCCESS_TIME_FORMAT |
H:i a |
The booking time on result pages, self service and in emails |
COM_EASYSERVICESBOOKING_SUCCESS_DATE_TIME_FORMAT |
d/m/y h:i a |
Date and time together |
COM_EASYSERVICESBOOKING_DATE_HEADING_FORMAT |
F Y |
The month heading of the calendar |
COM_EASYSERVICESBOOKING_DAY_VIEW_DATE_FORMAT |
l j F Y |
The heading of the day view |
H:i a shows 24 hour time with am or pm, for example "14:30 pm". For 12 hour time use h:i a ("02:30 pm"), for 24 hour time without am/pm use H:i.
Format letters
The formats use PHP date letters. The most used ones:
| Letter | Meaning | Example |
|---|---|---|
d |
Day of the month, two digits | 05 |
j |
Day of the month without leading zero | 5 |
D / l |
Short / full day name | Mon / Monday |
m |
Month number, two digits | 03 |
n |
Month number without leading zero | 3 |
M / F |
Short / full month name | Mar / March |
y / Y |
Year, two / four digits | 26 / 2026 |
H |
Hour, 24 hour, two digits | 14 |
G |
Hour, 24 hour, no leading zero | 9 |
h |
Hour, 12 hour, two digits | 02 |
g |
Hour, 12 hour, no leading zero | 2 |
i |
Minutes | 30 |
a / A |
am or pm / AM or PM | pm / PM |
Day and month names follow the language of the page.
Administrator lists and exports
The dates in the administrator Bookings list, the booking details and the CSV export use Start Date Format, End Date Format and Created Date Format on the Others tab of Options. Enter a Joomla constant such as DATE_FORMAT_LC6 or DATE_FORMAT_LC4, or a PHP format such as d/m/Y H:i.