date.prevMonth

Syntax date.prevMonth (date)

Params date is a valid Frontier date or a string that can be coerced to a date.

Action Returns a date value exactly a month before the specified date

Returns A date value exactly a month before the specified date

Examples date.prevMonth ("12/5/97; 10:25:07 PM")

   » "11/5/97; 10:25:07 PM"

date.prevMonth (clock.now ())

   » "3/7/00; 5:52:33 PM"

See Also date.nextMonth

Discuss