Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

frenchtojd

Description

The frenchtojd Calendar for PHP 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

1

<?

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

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

echo $return;

?>
2375840
HomeMenu