PHP - Function jdtofrench()


Advertisements


Syntax

jdtofrench ( $juliandaycount );

Definition and Usage

This function converts a Julian Day Count to the French Republican Calendar. Its opposite to FrenchToJD function.

Parameters

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 the following result −

3/3/14

php_function_reference.htm