nextmonth() returns a time number corresponding to the date one month from the passed time. It is different from strtotime("next month"). Function takes care of the leap year.
E.g. for Jan 31, 2000, strtotime("next month") returns 2000-03-02 whereas nextmonth() returns 2000-02-29