lsolesen\pel\PelEntryTime::convertUnixToJd PHP Method

convertUnixToJd() public method

Converts a UNIX timestamp to a Julian Day count.
public convertUnixToJd ( integer $timestamp ) : integer
$timestamp integer the timestamp.
return integer the Julian Day count.
    public function convertUnixToJd($timestamp)
    {
        return (int) (floor($timestamp / 86400) + 2440588);
    }