Tutorials Point


  Learning PHP
  Advanced PHP
  PHP Function Reference
  PHP Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

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 Printer Friendly

Advertisements


  

Advertisements