1. Home
  2. Docs
  3. Availability Search for WooCommerce Bookings
  4. How to
  5. How to change the Date Format

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 FormatExample Output
Date FormatExample Output
DD/MM/YYYY09/12/2018
DD-MM-YYYY09-12-018
MMMM D, YYYYDecember 9, 2018
D MMMM, YY9 December, 18
dddd MMMM YYYYSunday December 2018
dddd Do MMMM YYYYSunday 9th December 2018
dd MMM YYSu Dec 18
Do MMM YYYY9th 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 article helpful to you? Yes No