home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Pastiny
-
- PARAMETERS _date
-
- * _date is either the date entered or the current system
- * date and the function will return the number of remaining
- * days in the year
-
- _date = IF((TYPE("_date") != "D"), DATE(), _date)
-
- RETURN(_date - CTOD("01/01/" + SUBSTR(DTOS(_date), 3, 2)))
-
- * End of File
-