home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- FUNCTION ISLASTDAY (date_val)
- *****************************************************************
-
- * Returns true if current date is last day of month
-
- * Copyright(c) 1991 -- James Occhiogrosso
-
-
- IF date_val = NIL
- * Default to current date if no value is passed
- date_val = DATE()
-
- ELSEIF VALTYPE(date_val) != 'D'
- * Return false if argument is wrong type
- RETURN .F.
-
- ENDIF
-
- RETURN ( DAY(date_val) = LASTDAY(date_val) )
-
-