vlibDate

vLIB logo

6.14. nextDay()

Function Description
  nextDay (string timestamp [, string format])

Returns a vlibDate timestamp for the day after timestamp. If format is specified, then that format is returned instead of the timestamp.

The returned timestamp is a vlibDate timestamp. For more information on this and the format parameter, please see the IMPORTANT section.

Example

   $tomorrow = $date->nextDay($date->now());