PHP JDToFrench() Function

Definition and Usage

The JDToFrench() function converts a Julian day count to a French Republican Calendar date.

Syntax

jdtofrench(jd)

Parameter Description
jd Required. A number (a Julian day count)


Tips and Notes

Note: This function returns a string in the format "month/day/year".
Tip: The French Republican Calendar is a calendar proposed during the French Revolution, and used by the French government for about twelve years from late 1793.

Example

<?php
$d=jdtofrench(2380650);
echo($d);
?> 
 
OUTPUT :
3/3/14