jdtofrench

string jdtofrench(int JD) 

Converts a Julian day count to a French Republican Calendar date.

Returns:

French Republican Calendar date; 0/0/0 if an invalid Julian day count is specified

Description:

jdtofrench() converts a Julian day count to a French Republican Calendar date string. The returned date string is formatted as MM/DD/YY.

Valid Julian day counts for this function range from 2375840 to 2380952. If a count outside this range is specified, the function returns 0/0/0.

Version:

3+, 4+

See also:

To convert a French Republican Calendar date to a Julian day count:

frenchtojd() 

To get a Julian day count from another calendar system, see the various *tojd functions.

Example:

Convert a Gregorian date to a textual French Republican ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.