Computer and IT knowledge - things to know
displays the current date and time. (OPTIONAL)
<format> may contain the following
a abbreviated day (Sun to Sat)
d day of the month
D date in month/day/year format
h abbreviated month (Jan to Dec)
H hour (00 to 23)
j day of the year (001 to 366)
m month of the year (01 to 12)
M minutes (00-59)
r time in A.M./P.M. notation
y last two digits of year (00 to 99)
S seconds (00 to 59)
T time in hours:minutes:seconds format
w day of the week (0 to 7, Sun=0)
Wed Aug 7 10:44:34 MST 1991
$ date '+%a %t %h %t %y'
Tue Dec 93
$ date '+%d%t%D%t%H'
07 12/07/93 09
$ date '+%r%n%T'
computer2know :: thank you for your visit :: have a nice day :: © 2018