How to use FrenchToJd in PHP Calendar

In this article I am going to explain about FrenchToJd function in PHP.
  • 1708

PHP Calendar FrenchToJd() Function

The calendar FrenchToJd function converts a date from the French Republican calendar to a Julian Day Count.

Syntax of  FrenchToJd function

frenchtojd(month, day, year)

Parameters in FrenchToJd function

It have three parameters and all parameters is required:

Parameter Description
month It specified month.
day It specified the day.
year It specified year. The year number must between 1 to 14.

Example of Calendar FrenchToJd function

<html>

<body>

<?php

$d=frenchtojd(8,20,12);

echo($d);

?>

</body>

</html>

 

Output:

frenchtojd function.jpg

You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.