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



One response to “FT_FDAY

  1. Pingback: FT Date-Time | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.