Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

jdtogregorian

Description

The jdtogregorian of Calendar for PHP converts Julian Day Count to Gregorian date.

Syntax

jdtogregorian(
    int $julian_day
): string

Parameters

julian_day

A julian day number as integer

Return

Returns the gregorian date as a string in the form "month/day/year"

Examples

1 · julian_day

<?

$julian_day = unixtojd();

$return = jdtogregorian($julian_day);

echo $return;

?>
5/28/2024
HomeMenu