2013-10-14 02:36:58 +00:00
|
|
|
---
|
2017-09-04 10:09:26 +00:00
|
|
|
title: Date & time formats
|
|
|
|
weight: -5
|
2020-07-04 13:33:09 +00:00
|
|
|
updated: 2017-11-27
|
2017-10-29 16:14:50 +00:00
|
|
|
tags: [Featurable]
|
2013-06-20 05:38:19 +00:00
|
|
|
---
|
|
|
|
|
2017-11-27 11:44:19 +00:00
|
|
|
## Common time formats
|
2017-09-04 10:09:26 +00:00
|
|
|
{: .-one-column}
|
|
|
|
|
2017-11-27 11:44:19 +00:00
|
|
|
- [UNIX strftime](./strftime) - Used by Ruby, `date`, and more
|
|
|
|
- [Moment.js](./moment#formatting) - Used by Moment.js, date-fns, and more
|
2017-09-04 10:09:26 +00:00
|
|
|
|
2017-11-27 11:44:19 +00:00
|
|
|
{% include common/strftime_format.md title="strftime format" %}
|
2017-09-04 10:09:26 +00:00
|
|
|
|
2017-11-27 11:44:19 +00:00
|
|
|
{% include common/moment_format.md title="Moment.js format" %}
|