How to change the Date Format

You can now format dates in Availability Search for WooCommerce Bookings.

We understand that different cultures have different standards and need more than just translations. Therefore we’ve put in the work to allow you to use your country’s standard date format, or customize the format to suit your business. It’s super easy to setup. Just head into the Availability Search settings and look for the Date Format option.

In there you’ll be able switch and move the days, months and year to display in your preferred format.

We’ve prepared a list of examples for you to use in the table at the bottom of this post. Just copy and paste the format into the option box.

change the date format

Once you hit save, the date picker will display the dates in your selected format.

New date format in the search

Example date formats to use.

Date Format Example Output
Date Format Example Output
DD/MM/YYYY 09/12/2018
DD-MM-YYYY 09-12-018
MMMM D, YYYY December 9, 2018
D MMMM, YY 9 December, 18
dddd MMMM YYYY Sunday December 2018
dddd Do MMMM YYYY Sunday 9th December 2018
dd MMM YY Su Dec 18
Do MMM YYYY 9th Dec 2018

Note: We have only tested the above formats, so we recommend writing the date format exactly as displayed above. If you find that your selected format isn’t working, please remember to double check that it’s exactly the same as the suggested date formats here.

Was this page helpful?