> For the complete documentation index, see [llms.txt](https://tedirghazali.gitbook.io/algajs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tedirghazali.gitbook.io/algajs/date/date-now.md).

# $.date.now

Now method of date helpers

To get current date or date in right now, we can use now method with/without date format on the argument. This now method is the same as `Date.now()` or `new Date().toString()`.

```
// without an argument
$date.now()
//=> Sun Apr 04 2021 11:21:14 GMT+0700

// with date format in argument
$date.now('DD-MM-YYYY')
//=> 04-04-2021
```
