Unix/Linux Go Back    

Unix Version 7 - man page for date (v7 section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

DATE(1) 										  DATE(1)

       date - print and set the date

       date [ yymmddhhmm [ .ss ] ]

       If  no argument is given, the current date and time are printed.  If an argument is given,
       the current date is set.  yy is the last two digits of the year; the first mm is the month
       number;	dd  is	the  day number in the month; hh is the hour number (24 hour system); the
       second mm is the minute number; .ss is optional and is the seconds.  For example:

	      date 10080045

       sets the date to Oct 8, 12:45 AM.  The year, month and day may  be  omitted,  the  current
       values being the defaults.  The system operates in GMT.	Date takes care of the conversion
       to and from local standard and daylight time.

       /usr/adm/wtmp to record time-setting


       `No permission' if you aren't the super-user and you try to change the date; `bad  conver-
       sion' if the date set is syntactically incorrect.

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:58 PM.