home *** CD-ROM | disk | FTP | other *** search
/ Sound Sensations! / sound_sensations.iso / miscprog / alarm410 / dtchk.doc < prev    next >
Text File  |  1988-02-15  |  4KB  |  104 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                     DTCHK : The Date and Time Check Utility
  7.                            Version 1.01, 15-Feb-1988
  8.                                   SMG Software
  9.  
  10.                            (C) Copyright 1987,1988 by
  11.                                Steven Georgiades
  12.                               All Rights Reserved
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.          The  DTCHK utility is a program that will compare the current date
  21.     and/or  time  against those set in the system clock,  and will set  the
  22.     return code to zero (0)  if there is a match, and one (1) if not.   The
  23.     command usage is as follows:
  24.  
  25.          DTCHK w [mo [dy [year [hr [mn]]]]]
  26.  
  27.                w = Day of Week (0 to 6, 0 = Sunday)
  28.               mo = Month (1 to 12)
  29.               dy = Day of Month (1 to 31)
  30.             year = Year (1980 to 2099)
  31.               hr = Hour (0 to 23)
  32.               mn = Minute (0 to 59)
  33.  
  34.     An  asterisk may be substituted for any of the six fields in the  DTCHK
  35.     command line.   This will be interpreted by DTCHK as a wildcard,  which
  36.     will  match  any value for that field.   Any trailing fields  that  are
  37.     omitted are considered to be wildcards.  In other words,
  38.  
  39.          DTCHK * 3 17
  40.  
  41.     is equivalent to
  42.  
  43.          DTCHK * 3 17 * * *
  44.  
  45.          Since  the DTCHK utility responds with a return code,  the  result
  46.     must  be  tested via the IF ERRORLEVEL construct from  within  a  batch
  47.     file.   Please read your DOS manual for further information.  A  sample
  48.     batch file is included with this package.
  49.  
  50.     DTCHK, Version 1.01                                              Page 2   
  51.  
  52.  
  53.  
  54.          The  DTCHK  program is a subsidiary utility of the ALARM  program,
  55.     and both are distributed as ShareWare.  "ShareWare"  means that you are
  56.     granted free license to use,  copy and distribute this software, within
  57.     the following restrictions:
  58.  
  59.          1).  It must be distributed  in its original,  unmodified   form,
  60.               including program, documentation and all associated files.
  61.  
  62.          2).  No  fee may  be charged  for use,   copying  or   distribution
  63.               (With the exception of nominal "per disk" copying charges,
  64.               not to exceed $6.00 per disk).
  65.  
  66.          3).  The  program   may   not  be included   with   other   goods   or
  67.               services supplied for a fee,  unless written permission  to
  68.               do so is obtained in advance from the author.
  69.  
  70.     Although distributed as part of the ALARM program, feel free to use and
  71.     distribute    DTCHK    independently    of   ALARM.       For   information     on
  72.     registering  or   obtaining source  code for  DTCHK,  refer  to  the   ALARM
  73.     program documentation.
  74.  
  75.          This program is provided AS IS without any warranty,  expressed  or
  76.     implied,   including but not limited  to fitfulness for a particular  use
  77.     or  purpose.   Neither the author  nor SMG Software assume liability  for
  78.     any damages incurred through the use of the program.
  79.  
  80.          If  you have any problem,  or feel you  have found a bug in this  or
  81.     any other SMG program, please let me know.  I  also welcome any and  all
  82.     questions    and   comments.       Address   all   correspondence     (including
  83.     registrations) to the following address:
  84.  
  85.                    Steven Georgiades
  86.                    SMG Software
  87.                    701-H South Hayward Street
  88.                    Anaheim, CA  92804
  89.  
  90.     Or leave a message for me on the Circuit Board:
  91.  
  92.                    The Circuit Board RBBS
  93.                    SysOp: Dave Kleinschmidt
  94.                    (714) 778-0948
  95.                    1200/2400 Baud, No Fee
  96.  
  97.     All  SMG   Software   is initially  released  to  the   public   through   the
  98.     Circuit  Board.   The  latest version of any  SMG Software can always   be
  99.     found there.
  100.  
  101.     A diskette containing all of the latest SMG Software can be obtained by
  102.     sending  a check or money  order for $6.00  to  the above address.    Make
  103.     all checks payable to Steven M. Georgiades.  Thank you.
  104.