PEAR Manual
Prev |  | Next

# Calendar::setTimestamp()

Calendar::setTimestamp() -- Defines the calendar by a Unix timestamp, replacing values

## Synopsis

    require_once 'Calendar.php';

``void Calendar::setTimestamp` (int $ts)`

## Description

passed to the constructor

## Parameter

integer `$ts`

  Unix timestamp

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Calendar::setSelection() | Up | Calendar::size()