home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
rettig
/
source
/
stod.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-21
|
455b
|
22 lines
/*********
* STOD
* by Tom Rettig
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: STOD( <date string> )
* Return: <expD> of <date string>
* Blank <expD> if invalid <date string>
* Note : <date string> is <expC> in the DTOS() format "YYYYMMDD"
********/
#include "trlib.h"
TRTYPE stod()
{
if ( PCOUNT == 1 && ISCHAR(1) )
_retds( _parc(1) );
else
_retds( BLANKDS );
}