Home > PHP > Function > Calendar > JDToGregorian()

JDToGregorian()

JDToGregorian - Converts Julian Day Count to Gregorian date

Syntax

string JDToGregorian (int $julianday)

Arguments

  • julianday - A julian day number as integer

Description

Converts Julian Day Count to a string containing the Gregorian date in the format of "month/day/year".

Version

PHP 4, 5

Return value

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