Copyright © tutorialspoint.com

PHP Function jdtofrench()

previous
Advertisements

Syntax

jdtofrench ( $juliandaycount );

Definition and Usage

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

Paramters

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
previous

Copyright © tutorialspoint.com