Setup Your Date Field for Good Parsing

Best Practices for your date field settings.

This module is built on top of day.js, which is the recognized standard for JS date-time formatting. It parses your current date content automatically, and handles the formatting, date math, and localization as well.

Unfortunately dates are not globally standard- a common example is month-day-year vs. day-month-year conventions that different countries have.

circle-exclamation

Best Practices

To ensure that day.js is parsing the date correctly, the best practice is to use an international convention close to ISO8601.

circle-check

We highly recommend that you use this convention to ensure good parsing.

For CMS-stored dates, Webflow offers a range of formats. The best date format for this is halfway down the list and is shown here.

Use either...

  • YYYY-MM-DD HH:mm

  • or YYYY-MM-DD

circle-check
Ideally use this date format to ensure correct datetime parsing.

Last updated