Menu Home

jdtojulian

osbo.com | PHP | Functions | jdtojulian

Converts a Julian Day Count to a Julian Calendar Date

Syntax

jdtojulian ( int $julianday ) : string

Parameters

julianday

A julian day number as integer

Return

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

Examples

<?

$julianday = unixtojd();

$return = jdtojulian($julianday);

echo $return;

?>
4/3/2021

PHP