docServerUserLandCom picture
Contents
Frontier Site

date.lastOfMonth

Syntax date.lastOfMonth (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 last day of the specified month

Returns A date value corresponding to midnight on the last day of the specified month

Examples date.lastOfMonth (clock.now())

   » "12/31/97; 12:00:00 AM" // New year's eve

See Also date.firstOfMonth

date.nextMonth

date.prevMonth


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.