Learning PHP
Advanced PHP
PHP Function Reference
PHP Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
PHP Function jdtofrench()
Syntax
jdtofrench ( $juliandaycount );
|
Definition and Usage
This function converts a Julian Day Count to the French Republican Calendar. Its opposite to FrenchToJD function.
Paramters
Parameter | Description |
juliandaycount | Required. A julian day number as integer |
Return Value
The french revolution date as a string in the form "month/day/year"
Example
Try out following example:
<?php
$d=jdtofrench(2380650);
echo($d);
?>
|
This will produce following result:
|
|
|