Funcții de calendar
PHP Manual

unixtojd

(PHP 4, PHP 5)

unixtojdConvert Unix timestamp to Julian Day

Descrierea

int unixtojd ([ int $timestamp = time() ] )

Return the Julian Day for a Unix timestamp (seconds since 1.1.1970), or for the current day if no timestamp is given.

Parametri

timestamp

A unix timestamp to convert.

Valorile întoarse

A julian day number as integer.

Vedeți de asemenea


Funcții de calendar
PHP Manual