home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
miscprog
/
alarm410
/
dtchk.doc
< prev
next >
Wrap
Text File
|
1988-02-15
|
4KB
|
104 lines
DTCHK : The Date and Time Check Utility
Version 1.01, 15-Feb-1988
SMG Software
(C) Copyright 1987,1988 by
Steven Georgiades
All Rights Reserved
The DTCHK utility is a program that will compare the current date
and/or time against those set in the system clock, and will set the
return code to zero (0) if there is a match, and one (1) if not. The
command usage is as follows:
DTCHK w [mo [dy [year [hr [mn]]]]]
w = Day of Week (0 to 6, 0 = Sunday)
mo = Month (1 to 12)
dy = Day of Month (1 to 31)
year = Year (1980 to 2099)
hr = Hour (0 to 23)
mn = Minute (0 to 59)
An asterisk may be substituted for any of the six fields in the DTCHK
command line. This will be interpreted by DTCHK as a wildcard, which
will match any value for that field. Any trailing fields that are
omitted are considered to be wildcards. In other words,
DTCHK * 3 17
is equivalent to
DTCHK * 3 17 * * *
Since the DTCHK utility responds with a return code, the result
must be tested via the IF ERRORLEVEL construct from within a batch
file. Please read your DOS manual for further information. A sample
batch file is included with this package.
DTCHK, Version 1.01 Page 2
The DTCHK program is a subsidiary utility of the ALARM program,
and both are distributed as ShareWare. "ShareWare" means that you are
granted free license to use, copy and distribute this software, within
the following restrictions:
1). It must be distributed in its original, unmodified form,
including program, documentation and all associated files.
2). No fee may be charged for use, copying or distribution
(With the exception of nominal "per disk" copying charges,
not to exceed $6.00 per disk).
3). The program may not be included with other goods or
services supplied for a fee, unless written permission to
do so is obtained in advance from the author.
Although distributed as part of the ALARM program, feel free to use and
distribute DTCHK independently of ALARM. For information on
registering or obtaining source code for DTCHK, refer to the ALARM
program documentation.
This program is provided AS IS without any warranty, expressed or
implied, including but not limited to fitfulness for a particular use
or purpose. Neither the author nor SMG Software assume liability for
any damages incurred through the use of the program.
If you have any problem, or feel you have found a bug in this or
any other SMG program, please let me know. I also welcome any and all
questions and comments. Address all correspondence (including
registrations) to the following address:
Steven Georgiades
SMG Software
701-H South Hayward Street
Anaheim, CA 92804
Or leave a message for me on the Circuit Board:
The Circuit Board RBBS
SysOp: Dave Kleinschmidt
(714) 778-0948
1200/2400 Baud, No Fee
All SMG Software is initially released to the public through the
Circuit Board. The latest version of any SMG Software can always be
found there.
A diskette containing all of the latest SMG Software can be obtained by
sending a check or money order for $6.00 to the above address. Make
all checks payable to Steven M. Georgiades. Thank you.