home *** CD-ROM | disk | FTP | other *** search
/ norge.freeshell.org (192.94.73.8) / 192.94.73.8.tar / 192.94.73.8 / pub / computers / pdp10 / tops-10 / datesw.hlp < prev    next >
Text File  |  1995-04-05  |  3KB  |  62 lines

  1. [HLP:DATESW.HLP  1 page]
  2.  
  3.                 Date-Time arguments help file
  4.         The Date-Time arguments to switches like /BEFORE and /SINCE
  5. can be either relative to now, or absolute.
  6. Relative argument:
  7.                 + number of daysD:hours:minutes:seconds
  8.         where
  9.                 ---  + can be +(future) or -(past)
  10.                 ---number of days is optional
  11.                 ---D is required if number of days is given
  12.                 ---hours are optional if D is given ; otherwise
  13.                         hours are required
  14.                 ---minutes are optional
  15.                 ---seconds are optional ; but if seconds are used,
  16.                         minutes must be given or seconds will be
  17.                         taken as minutes
  18.                 --- a colon is required if more than one field is given
  19.  
  20. Absolute argument:
  21.                 weekday or date:hours:minutes:seconds
  22.         where
  23.                 ---weekday is the day of the week (or a unique abbreviation)
  24.                         and is optional
  25.                ---date is optional and has one of the following forms:
  26.                         21-oct-72
  27.                         oct-21-72
  28.                         10-21-72
  29.                 ---the year (and preceding hyphen) is optional and can
  30.                         be 1, 2, or 4 digits
  31.                 ---hours, based on 24-hour time are required
  32.                 ---minutes are optional
  33.                 ---seconds are optional
  34.         except:  for /TIME--of the three numbers for hours, minutes
  35.                             and seconds; if only one is given, it is
  36.                             assumed to be seconds; if two, minutes and
  37.                             and seconds; all three are needed to get
  38.                             hours, minutes and seconds.
  39.  
  40. If hours are omitted, the /BEFORE or /SINCE (which imply past)
  41. and the /AFTER (which implies future) are used to supply the time as
  42. 00:00:00 if past and 23:59:59 if future.
  43.  
  44. Other date-time keywords allowed are
  45. /since: LOGIN, MIDNIGHT, NOON, YESTERDAY, TODAY, TOMORROW, MONDAY, etc
  46. and any unique abbreviation of them, including month names.
  47. Examples for your delight:
  48.  
  49.         /since:-3d:4:27:21      3days,4hrs,27mins,21secs ago
  50.         /after:sat              after 23:59:59 next saturday
  51.         /bef:25-feb             before last February 25th
  52.         /sin:jul-3-70:12                since July 3,1970 at noon
  53.         /sin:-1                 since the last hour
  54.         /sin:-1d                since the last day at 00:00:00
  55.         /time:20                20 seconds of time
  56.         /time:20:0              20 minutes of time
  57.  
  58. [End of DATESW.HLP]
  59.  
  60. .KJOB
  61. .
  62.