date.nextMonth

Syntax date.nextMonth (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 the specified day and time but in the next month

Returns A date value corresponding to the specified day and time but in the next month

Examples date.nextMonth ("12/5/97; 10:05:47 PM")

   » "1/5/98; 10:05:47 PM"

date.nextMonth (clock.now ())

   » "5/7/00; 5:50:09 PM"

See Also date.prevMonth

Discuss