public static function unixToJd($timestamp)
    {
        if ($timestamp < 0) {
            return false;
        } else {
            // Convert timestamp based on local timezone
            return self::GregorianToJd(gmdate('n', $timestamp), gmdate('j', $timestamp), gmdate('Y', $timestamp));
        }
    }
public static function unixToJd($timestamp)
    {
        if ($timestamp < 0) {
            return false;
        } else {
            // Convert timestamp based on local timezone
            return self::GregorianToJd(gmdate('n', $timestamp), gmdate('j', $timestamp), gmdate('Y', $timestamp));
        }
    }
public static function unixToJd ( $ timestamp ) { if ( $ timestamp < 0 ) { return false ; } else { // Convert timestamp based on local timezone return self :: GregorianToJd ( gmdate ( 'n' , $ timestamp ) , gmdate ( 'j' , $ timestamp ) , gmdate ( 'Y' , $ timestamp ) ) ; } }
Convert Unix timestamp to Julian Day.

Shim implementation of unixtojd()

@link https://php.net/unixtojd

@param int $timestamp

@return false|int
Convert Unix timestamp to Julian Day .