Unlike MS Windows commands, unix commands are very forgiving:DamnSkippy said:The date command under *nix uses 24 hour format but that has nothing to do with how your applications display it. I have never looked but I do not think the date command will accept 12 hour format.
[root@of1 ~]# date -s "today 3:53 pm"
Tue Apr 25 15:53:00 PDT 2006
[root@of1 ~]# date -s "tomorrow 2:54 pm"
Wed Apr 26 14:54:00 PDT 2006
[root@of1 ~]#
[root@of1 ~]#
[root@of1 ~]# date -s "yesterday 3:54:37 pm"
Tue Apr 25 15:54:37 PDT 2006
[root@of1 ~]#