home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / timeset.zip / TIMESET.DOC < prev   
Text File  |  1993-09-26  |  3KB  |  88 lines

  1.  
  2.                          TIMESET.CMD
  3.  
  4. INTRODUCTION
  5. ============
  6.  
  7.  TIMESET is an OS/2 REXX Command File that will dial the Naval
  8.  Observatory and set the system clock to the Naval Observatory time.
  9.  
  10.  TIMESET is not precisely accurate in that it does not take into account
  11.  the time lag from the communications thru program execution thru the
  12.  setting of the system time.  However, it should set the system clock to
  13.  within a second of Naval Observatory Time.
  14.  
  15.  This is the very first version of TIMESET.  I've tested it on a US
  16.  Robotics HST modem, only.  I suspect that there might be subtle
  17.  differences in the Hayes AT command set for other modems and they
  18.  might not respond the same as my modem.
  19.  
  20.  
  21. DISCLAIMERS
  22. ===========
  23.  
  24.  TIMESET is freeware.  Feel free to copy it, modify it, do whatever you
  25.  wish to it.  Just don't hold me responsible for any problems it might
  26.  cause you or you system.
  27.  
  28.  
  29. PROGRAM EXECUTION
  30. =================
  31.  
  32.  At the OS/2 command line type:
  33.  
  34.     TIMESET <year> <offset> <PhoneNumber> <ComPort>"
  35.  
  36.             <year>        = 2 digit year (e.g. 1992 = 92)
  37.             <offset>      = Hours that your local time differs from
  38.                              Greenwich Mean Time. Eastern Daylight
  39.                              Time = 4 (i.e. 12:00 noon GMT is 08:00 EDT)
  40.             <PhoneNumber> = Phone Number of Naval Observatory
  41.                              1-202-653-0351 is default
  42.             <ComPort>     = ComPort where your modem is connected
  43.                              COM1 is default
  44.  
  45.  If for some reason TIMESET cannot connect, it will timeout after 45
  46.  seconds.
  47.  
  48. Author: Jerry am Ende
  49.         5411 Pinehurst Dr.
  50.         Wilmington, DE 19808
  51.         Compuserve 73237,131
  52.  
  53. -----------------------------------------------------------
  54. Modified 26Sep93 M.R. Allen 
  55. ===========================
  56.     Created Version 1.1 26Sep93 
  57.  
  58.     Corrected problems with getting all the digits for the TIMEStamp from 
  59.     Modem.
  60.  
  61.     Changed offset to use negative values for time zones west of GMT.
  62.  
  63. DISCLAIMERS
  64. ===========
  65.  
  66.  TIMESET is freeware.  Feel free to copy it, modify it, do whatever you
  67.  wish to it.  Just don't hold me responsible for any problems it might
  68.  cause you or you system.
  69.  
  70.  
  71. PROGRAM EXECUTION
  72. =================
  73.  
  74.  At the OS/2 command line type:
  75.  
  76.     TIMESET <year> <offset> <PhoneNumber> <ComPort>"
  77.  
  78.             <year>        = 2 digit year (e.g. 1992 = 92)
  79.             <offset>      = Hours that your local time differs from
  80.                              Greenwich Mean Time. Eastern Daylight
  81.                              Time = -4 (i.e. 12:00 noon GMT is 08:00 EDT)
  82.             <PhoneNumber> = Phone Number of Naval Observatory
  83.                              1-202-653-0351 is default
  84.             <ComPort>     = ComPort where your modem is connected
  85.                              COM1 is default
  86.  
  87.  
  88.