PHP jdtofrench() function

PHP jdmonthname() function
PHP jdtogregorian() function

In this article. you will learn how to convert Julian Day Count to French Date in PHP. The jdtofrench() function returns French Republic Date converts using Julian Day count.

What is the syntax of the jdtofrench() function in PHP?

jdtofrench(jd);
ParameterDescription
jdJulian Day number – Required
PHP jdtofrench() method

Examples of jdtofrench() function

Example 1. In this example, we simple convert Julian Day Count to French Republican Date and then back to Julian Day Count from the French Republican Date.

<?php
$j_d=frenchtojd(3,13,2021);
echo $j_d;
echo jdtofrench($j_d);
?>
PHP jdmonthname() function
PHP jdtogregorian() function
en English
X
Scroll to Top