date.nextYear

Syntax date.nextYear (date)

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

Action Returns a date exactly one year after the specified date

Returns A date exactly one year after the specified date

Examples date.nextYear ("12/5/97; 10:10:52 PM")

   » "12/5/98; 10:10:52 PM"

date.nextYear (clock.now ())

   » "4/7/01; 5:51:40 PM"

See Also date.prevYear

Discuss