nushell/docs/commands/date_now.md

19 lines
246 B
Markdown
Raw Normal View History

---
title: date now
layout: command
version: 0.59.0
---
Get the current date.
## Signature
```> date now ```
## Examples
Get the current date and display it in a given format string.
```shell
> date now | date format "%Y-%m-%d %H:%M:%S"
```