w3resource

PHP: jdtofrench() function

Converts a Julian Day Count to the French Republican Calendar

The jdtofrench() function is used to convert a Julian day count to a French Republican Calendar.

Version:

(PHP 4 and above)

Syntax:

jdtofrench(julian_day_count )

Parameter:

Name Description Required /
Optional
Type
julian_day_count A Julian day number. Required Integer.

Return value:

The french revolution date as a string in "month/day/year" format.

Value Type: String.

Example:

<?php
$julian_day_count=jdtofrench(2379950);
echo($julian_day_count);
?>

Sample Output:

4/3/12

View the example in the browser

See also

PHP Function Reference

Previous: JDMonthName
Next: JDToGregorian



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/php/function-reference/JDToFrench.php