Xbasic
Date_FirstDayOfMonth Function
Syntax
First Date as D = date_FirstDayOfMonth([D date ])
Arguments
- First Date
The first date of a month.
- date
Optional. Default = today. The date to use when calculating the first day of the month.
Description
Returns the first day of the month for a given date. If no argument is supplied, first day of current month.
Discussion
The Date_FirstDayOfMonth() function returns the first day of a month.
Example
? Date_FirstDayofMonth() = {06/01/2006} ? Date_FirstDayofMonth({7/4/06}) = {07/01/2006}
See Also