Function Description
|
prevDay (string timestamp [, string format])
|
Returns a vlibDate timestamp for the day before 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
|
$yesterday = $date->prevDay($date->now());
|