Next: devicetree, Previous: cutmem, Up: Command-line commands [Contents][Index]
With no arguments, print the current date and time.
Otherwise, take the current date and time, change any elements specified as arguments, and set the result as the new date and time. For example, ‘date 01-01’ will set the current month and day to January 1, but leave the year, hour, minute, and second unchanged.