home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT214.ZIP / SEBFU40.LZH / WTIME.DOC < prev    next >
Text File  |  1991-09-25  |  3KB  |  169 lines

  1.  
  2.                             W T I M E     Ver. 4.0
  3.  
  4.  
  5.                     (C)1989,1990,1991  Scanlon Enterprises
  6.  
  7.  
  8.  
  9.  
  10.  
  11.        WTIME is a small utility to get the current date as an errorlevel 
  12.        or into a DOS environment variable.
  13.  
  14.  
  15.  
  16.        Syntax : WTIME /H /M /S /Vvar /A
  17.  
  18.  
  19.  
  20.        Where : '/S'   instructs WTIME to return hour of the day
  21.                '/M'   instructs WTIME to return minute of the day
  22.                '/S'                             year
  23.                '/Vvar' instructs WTIME to set the variable 'var' to the
  24.                        current date, or if 'var' is NOT specified, will
  25.                        set the default var 'CDATE' to the time.
  26.                '/A'    instructs WTIME to get all of date, only valid
  27.                        with the /V option
  28.  
  29.  
  30.        Defaults: Returns an errorlevel equal to the hour of the day
  31.                  Default variable is CTIME
  32.  
  33.  
  34.  
  35.        ERRORLEVELS:
  36.        Exit with an errorlevel of 255 for tamper detection
  37.                                   254 for command error
  38.                                   0-99 for year, current century
  39.                                   1-31 for day of month
  40.                                   1-12 for month
  41.                                   1-7 for day of week
  42.  
  43.  
  44.  
  45.        For additional usage and information on using these utilities see 
  46.        the file SEBFU.DOC or BATUT.DOC.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.       Page 1 of 3
  64.  
  65.                             W D A T E     Ver. 4.0
  66.  
  67.  
  68.                     (C)1989,1990,1991  Scanlon Enterprises
  69.  
  70.  
  71.  
  72.  
  73.        EXAMPLES:
  74.  
  75.                WTIME
  76.  
  77.        Returns an errorlevel equal to the hour of the day
  78.  
  79.                WTIME /V
  80.  
  81.        Returns the hour in variable CTIME
  82.  
  83.                WTIME /VTIME
  84.  
  85.        Returns the hour in variable TIME
  86.  
  87.                WTIME /M
  88.  
  89.        Returns the minute as an errorlevel
  90.  
  91.                WTIME /M /V
  92.  
  93.        Returns the minute in variable CTIME
  94.  
  95.                WTIME /S
  96.  
  97.        Returns the seconds as an errorlevel
  98.  
  99.                WTIME /V /A
  100.  
  101.        Puts the entire time into variable CTIME
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.       Page 2 of 3
  127.  
  128.                              W D A T E    Ver. 4.0
  129.  
  130.  
  131.                     (C)1989,1990,1991  Scanlon Enterprises
  132.  
  133.  
  134.  
  135.                              O R D E R     F O R M
  136.  
  137.  
  138.  
  139.  
  140.        WTIME registration ..................................... $1.50
  141.  
  142.  
  143.  
  144.  
  145.        What you get :
  146.  
  147.        Unlimited usage of WTIME, and phone or write in support. You 
  148.        will also be placed on our mailing list for future updates and 
  149.        new products.
  150.  
  151.        We are offering this utility seperate from SEBFU as a favor to 
  152.        users who do NOT wish to use many of the SEBFU utilities.
  153.  
  154.        This utility is automatically registered to you when you register 
  155.        SEBFU as a product (see REG.DOC). Registering SEBFU as a product 
  156.        is a better bargin, as each utility will cost less than $ .25 
  157.        each.
  158.  
  159.  
  160.        Vendors:
  161.  
  162.        You may distribute WTIME seperately, provided this document is 
  163.        distributed as well. Any reasonable fee may be charged.
  164.  
  165.  
  166.        Send your order to : SCANLON ENTERPRISES
  167.                             38354 17TH ST E.
  168.                             PALMDALE, CA 93550
  169.