Xbasic
MONTH_START Function
Syntax
First_Day as D = month_start(D date )
Arguments
- date
A variable containing a date value or a character string containing a legitimate representation of a date value ( ISDATE (Date_Value) = .T.).
Description
Computes the date on which a month starts for any given date.
Discussion
MONTH_START() returns the date of the first day of the month in which date occurs.
Example
month_start({7/12/2002} -> {7/1/2002}
put description here
See Also