By default presents datetime in local format:
By default presents datetime in local format:
With the attribute data-format
you can customize presentation:
Or show the date part only:
Or show the time part only:
Add the timezone:
Force 24-hour time for any locale:
Force different locale via the lang
attribute:
Show "Invalid Date" for incorrect values:
You can also define custom format globally: