W3Schools.com

PHP JDToFrench() Function


PHP Calendar Reference Complete PHP Calendar Reference

Definition and Usage

The JDToFrench() function converts a Julian day count to a French Republican Calendar date.

Syntax

jdtofrench(jd)

Parameter Description
jd Required. A number (a Julian day count)


Tips and Notes

Note: This function returns a string in the format "month/day/year".

Tip: The French Republican Calendar is a calendar proposed during the French Revolution, and used by the French government for about twelve years from late 1793.


Example

<?php
$d=jdtofrench(2380650);
echo($d);
?>

The output of the code above will be:

3/3/14


PHP Calendar Reference Complete PHP Calendar Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE