nushell/docs/commands/date_now.md

247 B

title layout version
date now command 0.59.0

Get the current date.

Signature

> date now

Examples

Get the current date and display it in a given format string.

> date now | date format "%Y-%m-%d %H:%M:%S"