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

ParameterDescription
juliandaycountRequired. 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:

3/3/14

php_function_reference.htm