Afficher la date Linux
date +"%d-%m-%y"
Excited Elk
date +"%d-%m-%y"
date
or
date +”Year: %Y, Month: %m, Day: %d”
Year: 2022, Month: 04, Day: 16
or
$ timedatectl
Local time: Sat 2022-04-16 13:06:00 GMT
Universal time: Sat 2022-04-16 13:06:00 UTZ
RTC time: Sat 2022-04-16 13:02:34
Time zone: GMT (GMT, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: yes
{ while true ; do date ; sleep 0.1 ; done } | uniq