Menu Riverview Church

UNIXTOJD

Convert Unix timestamp to Julian Day

SYNTAX

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

PARAMETERS

timestamp

A unix timestamp to convert.

RETURN

A julian day number as integer.

EXAMPLES

VOID

2459151

TIMESTAMP

2459151

PHP