> For the complete documentation index, see [llms.txt](https://docs.lovincyrus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lovincyrus.com/notes/undefined/date.md).

# Date

Date object

current time: `new Date()`

{% embed url="<https://moment.github.io/luxon/>" %}

{% embed url="<https://momentjs.com/>" %}

current time: `moment().format()`

{% embed url="<https://date-fns.org/>" %}

<https://twitter.com/wesbos/status/1184893536707207168>

![](https://twitter.com/wesbos/status/1184893536707207168)
