frenchtojd

Converts a date from the French Republican Calendar to a Julian Day Count

Syntax

frenchtojd(int $month, int $day, int $year): int

Parameters

month

The month as a number from 1 (Vendémiaire) to 13 (for the period of 5-6 days at the end of each year)

day

The day as a number from 1 to 30

year

The year as a number between 1 and 14

Return

The julian day for the given french revolution date as an integer.

Examples

<?

$month = 1;
$day = 1;
$year = 1;

$return = frenchtojd($month, $day, $year);

echo $return;

?>
2375840

cal_days_in_month

cal_from_jd

cal_info

cal_to_jd

easter_date

easter_days

gregoriantojd

jddayofweek

jdmonthname

jdtofrench

jdtogregorian

jdtojewish

jdtojulian

jdtounix

jewishtojd

juliantojd

unixtojd

PHP

Home Menu