PEAR Manual
Prev |  | Next

# Calendar::adjust()

Calendar::adjust() -- Adjusts the date (helper method)

## Synopsis

    require_once 'Calendar.php';

``void Calendar::adjust` ()`

## Description

Helper method. You can adjust calling object's date just like mktime does. For instance, (2003, 11, -1) will be translated to (2003, 10, 31). This method allows math operations on dates.

## Note

This function can not be called statically.

Prev | Home | Next
constructor Calendar::Calendar() | Up | Calendar::build()