Difference between revisions of "date command"
From thelinuxwiki
(Created page with "to get a formatted date command, just append a + followed by format denotations just give me the year! # '''date +%Y''' year, month, day... # '''date +%Y-%m-%d''' ...") |
|||
Line 9: | Line 9: | ||
just give me the time! | just give me the time! | ||
− | # date +%H.%M.%S ~ | + | # '''date +%H.%M.%S''' ~ |
23.00.20 | 23.00.20 |
Revision as of 04:00, 2 August 2013
to get a formatted date command, just append a + followed by format denotations
just give me the year!
# date +%Y
year, month, day...
# date +%Y-%m-%d ~ 2013-08-01
just give me the time!
# date +%H.%M.%S ~ 23.00.20