Modifying Date and Time Format
Localization & translations
Updated
Modifying Date and Time
This section allows you to modify the format for Date and Time displayed on your website.
Please follow the below steps to make the changes:
- Login to your Vacation Labs account
- Click on Website

- Click on Localization

- Click on Localization

- Click on Date and Time

- Click on the checkbox and edit the sentence.
- Scroll down to the bottom and click on Save.
Here’s a small index for the different formats that can be used:
| Syntax | Time Formats |
|---|---|
| %Y-%m-%d %H:%M | YYYY-MM-DD HH:MM |
| %d %b, %Y %H:%M | DD MM, YY HH:MM |
| %d %b, %l:%M %p | DD MM, II:MM AM/PM |
| %d %b, %Y %l:%M %p | DD MM, YY II:MM AM/PM |
| %l:%M %p | II:MM AM/PM |
| Index | |
| %I = Hour of day-half (12-hour) 0-12 | |
| %P = am, pm (lowercase) | |
| %P = AM, PM (uppercase) |
| Syntax | Date Formats |
|---|---|
| %Y-%m-%d | Year-Month-Date |
| %a, %d %b, %Y | Day of week, Date Month, Year |
| %d %b | Date Month |
| %d %b, %Y | Date Month, Year |
| %d | Date |
| %d %B, %Y | Date Month name, Year |
| Index | |
| %B = Long Form (January - December) | |
| %b = Short Form (Jan - Dec) |