date.firstOfMonth
| Syntax |
date.firstOfMonth (date)
|
| Params |
date is a valid Frontier date or a string that can be coerced to a date.
|
| Action |
Returns a date value corresponding to midnight on the first day of the specified month
|
| Returns |
A date value corresponding to midnight on the first day of the specified month
|
| Examples |
date.firstOfMonth ("12/25/97") » "12/1/97; 12:00:00 AM"
date.firstOfMonth (clock.now ())
|
| See Also |
date.lastOfMonth
|