Name

next_day — Returns the date of the next specified day of the week

Synopsis

dateObj.next_day(day)

Description

#next_day returns the first day of the week named by day that is later than dateObj. day must be either the full name or an abbreviation of a day of the week. The returned Date has the same hours, minutes and seconds components as dateObj.