THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP jdtofrench() Function

❮ PHP Calendar Reference

Example

Convert a French Republican date to a Julian Day Count and back to a French Republican date:

<?php
$jd=frenchtojd(3,3,14);
echo $jd . "<br>";
echo jdtofrench($jd);
?>
Run example »

Definition and Usage

The jdtofrench() function converts a Julian Day Count to a French Republican date.

Tip: Look at the frenchtojd() function to convert a French Republican date to a Julian Day Count.


Syntax

jdtofrench(jd);

Parameter Description
jd Required. A Julian Day number

Technical Details

Return Value: Returns a French Republican date in format "month/day/year"
PHP Version: 4+

❮ PHP Calendar Reference