Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_lday()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_LDAY()
 Return last day of the month
------------------------------------------------------------------------------

 Syntax

      FT_LDAY( [ <dDateToChk> ] ) -> dLastDay

 Arguments

     <dDateToChk> is a date within a month for which you want to find
     the last date of that month.  If not passed or is an incorrect
     type, defaults to current system date.

 Returns

     A Clipper date value representing the last date of the month.

 Description

     This function will return the last day of the month of the date
     passed, or the last day of the current month if no argument is
     supplied.

 Examples

     dDate := CTOD( "09/15/90" )
     ? FT_LDAY( dDate )             // 09/30/90
     ? FT_LDAY()                    // 03/31/91  (current month)

 Source: LASTDAY.PRG

 Author: Mike Schinkel

See Also: FT_FDAY()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson