DateTime
PHP Manual

DateTime::getTimestamp

(PHP 5 >= 5.3.0)

DateTime::getTimestampGets the Unix timestamp

Opis

public int DateTime::getTimestamp ( void )

Gets the Unix timestamp.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

Returns Unix timestamp representing the date.

Zobacz też:


DateTime
PHP Manual