Linux??Date??????÷?
???????????? ???????[ 2015/10/22 14:18:47 ] ??????????????
????linux??date???÷?????????????????????????shell???檔??????????????????????÷???
????1.???????
????# date -s 20080305 -------->????????
????# date -s 12:19:50 ------->???????
????2.??????????????????1970??1??1??0??0?????????????????????
????date +%s
???????????????????????????
????date -d ' 1970-01-01 UTC 1204704624 seconds'
????3.??24С??????С?
????date +%H
????4.??12С??????С?
????date +%I
????5.???????????01-12?????????е??·?
????date +%m
????6.???????????00-59?????????
????date +%M
????7.?????????????????00-99??
????date +%y
????8.????????????????????????
????date +%Y
????9.??yyyy-mm-dd??????????
????date -I
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11