DateTime::getOffset
DateTime::getTimezone
DateTime
PHP Manual

# DateTime::getTimestamp

(PHP 5 >= 5.3.0)

DateTime::getTimestamp — Gets the Unix timestamp

### Beschreibung

public int DateTime::getTimestamp ( void )

Gets the Unix timestamp.

### Parameter-Liste

Diese Funktion hat keine Parameter.

### Rückgabewerte

Returns Unix timestamp representing the date.

### Siehe auch

- DateTime::setTimestamp - Sets the date and time based on an Unix timestamp

DateTime::getOffset
DateTime::getTimezone
DateTime
PHP Manual