date [new_time OR output_fmt]

Display or set date and time


new_time OR output_fmtNew_time: [[[mm]dd]HH]MM[[cc]yy][.ss], output_fmt: '+' followed by user-defined format string


-d <dst>Set the kernel's value for daylight saving time
-f <input_fmt> <new_date>Use specified format for input instead of the default [[[mm]dd]HH]MM[[cc]yy][.ss] format
-jDon't try to set the date
-nOnly set time on the current machine, instead of all machines in the local group
-RUse RFC 2822 date and time output format
-r <seconds>Print the date and time represented by the specified number of seconds since the Epoch
-t <minutes_west>Set the system's value for minutes west of GMT
-uDisplay or set the date in UTC (Coordinated Universal) time
-v <val>Adjust and print (but don't set) the second, minute, hour, month day, week day, month, or year according to val