home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man1 / date.1 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.0 KB  |  48 lines

  1. .th DATE I 11/1/74
  2. .sh NAME
  3. date \*- print and set the date
  4. .sh SYNOPSIS
  5. .bd date
  6. [
  7. .bd s
  8. ]
  9. [ mmddhhmm[yy] ]
  10. .sh DESCRIPTION
  11. If no argument is given, the current date and time are printed.
  12. If an argument is given, the current date is set.
  13. The first
  14. .it mm
  15. is the month number;
  16. .it dd
  17. is the day number in the month;
  18. .it hh
  19. is the hour number (24 hour system);
  20. the second
  21. .it mm
  22. is the minute number;
  23. .it yy
  24. is the last 2 digits of the year number and is optional.
  25. For example:
  26. .s3
  27. .bd"      date 10080045"
  28. .s3
  29. sets the date to Oct 8, 12:45 AM.
  30. The current year is the default if no year is mentioned.
  31. The system operates in GMT.
  32. .it Date
  33. takes care of the conversion to and from
  34. local standard and daylight time.
  35. .s3
  36. If the argument is ``s,''
  37. .it date
  38. calls the network file store via the TIU interface
  39. (if present) and sets the clock to the
  40. time thereby obtained.
  41. .sh DIAGNOSTICS
  42. ``No permission'' if
  43. you aren't the super-user and you try to change the date;
  44. ``bad conversion'' if the date set is syntactically incorrect.
  45. .sh FILES
  46. /dev/tiu/d0
  47. .sh BUGS
  48.