home *** CD-ROM | disk | FTP | other *** search
- /*********
- * Function : DTOSS
- * By : Tom Rettig
- * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
- *
- * Syntax: DTOSS( <expN> )
- * Return: Numeric seconds from <expN> days.
- *********/
-
- #include "trlib.h"
-
- TRTYPE dtoss()
- {
- if ( PCOUNT == 1 && ISNUM(1) )
- _retnl( (long)(_parnd(1)*86400) );
- else
- _retnl( (long)ERROR );
- }
-