home *** CD-ROM | disk | FTP | other *** search
- /*********
- *
- * ISDSDATE.C
- *
- * by Tom Rettig
- *
- * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
- *
- * Syntax: ISDSDATE( <date string> )
- * Return: True if <date string> is a valid date, otherwise False
- * Note : <date string> is <expC> in the DTOS() format "YYYYMMDD"
- ********/
-
- #include "trlib.h"
-
- TRTYPE isdsdate()
- {
- if ( PCOUNT == 1 && ISCHAR(1) )
- _retl( _tr_isdsvalid(_parc(1)) );
- else
- _retl( FALSE );
- }
-
-