FT Date-Time

 FT_ACCTADJ()     Adjust beginning or ending fiscal pd. dates to acctg. dates
 FT_ACCTMONTH()   Return accounting month data
 FT_ACCTQTR()     Return accounting quarter data
 FT_ACCTWEEK()    Return accounting week data
 FT_ACCTYEAR()    Return accounting year data
 FT_ADDWKDY()     Return true number of days to add given number of workdays
 FT_CALENDAR()    Display date/time calendar, find a date, return calendar data.
 FT_CIV2MIL()     Convert usual civilian format time to military time.
 FT_DATECNFG()    Set beginning of year/week for FT_ date functions
 FT_DAYOFYR()     Return calendar, fiscal or accounting day data
 FT_DAYTOBOW()    Calculate no. of days between date and beginning of week
 FT_DOY()         Find number of day within year
 FT_EASTER()      Return the date of Easter
 FT_ELAPMIN()     Return difference, in minutes, between two mil format times.
 FT_ELAPSED()     Return elapsed time between two days and/or times
 FT_ELTIME()      Compute difference between times in hours, minutes, seconds.
 FT_FDAY()        Return first day of the month
 FT_LDAY()        Return last day of the month
 FT_MADD()        Add or subtract months to/from a date
 FT_MIL2CIV()     Convert time in military format to civilian format.
 FT_MIL2MIN()     Convert time in military format to number of minute of day.
 FT_MIN2DHM()     Convert numeric minutes to days, hours and minutes.
 FT_MIN2MIL()     Convert minute of day to military format time.
 FT_MONTH()       Return Calendar or Fiscal Month Data
 FT_QTR()         Return Calendar or Fiscal Quarter Data.
 FT_SYS2MIL()     Convert system time to military time format.
 FT_WEEK()        Return calendar or fiscal week data
 FT_WORKDAYS()    Return number of work days between two dates
 FT_WOY()         Find number of week within year
 FT_YEAR()        Return calendar or fiscal year data

FT_LDAY

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()

 

FT_FDAY

FT_FDAY()
 Return first day of the month

 Syntax

      FT_FDAY( [ <dDateToChk> ] ) -> dFirstDay

 Arguments

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

 Returns

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

 Description

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

 Examples

     dDate := CTOD( "09/15/90" )
     ? FT_FDAY( dDate )             // 09/01/90
     ? FT_FDAY()                    // 03/01/91  (current month)

 Source: FIRSTDAY.PRG

 Author: Jeff Bryant

See Also: FT_LDAY()