Datetime Cheat Sheet

From WikiOD

Here is the cheatsheat of Datetime and basic guide on how to use Datetime

Common time formats[edit | edit source]

{: .-one-column}

  • [[./strftime|UNIX strftime]] - Used by Ruby, date, and more
  • [[./moment#formatting|Moment.js]] - Used by Moment.js, date-fns, and more

{% include common/strftime_format.md title=“strftime format” %}

{% include common/moment_format.md title=“Moment.js format” %}

Credit:rstacruz