|
|
Return to General UNIX Home Page.
Date / Time Functions in UNIX
by Jeff Hunter, Sr. Database Administrator
# date -s "11/30/2003 12:48:00" - Set the date to the date and time shown. # date '+DATE: %m/%d/%y%nTIME: %H:%M:%S' - Would list the time and date in the below format: DATE: 12/04/03 TIME: 19:12:13