System
date
Shows or sets system date and time.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$date [OPTIONS] [+FORMAT]
Examples
$date
$date '+%Y-%m-%d %H:%M'
Typical use cases
?
Standard usage
date --help
Note
Built-in command.
Export