frenchtojd
int frenchtojd(int month, int day, int year)
month | French Republican Calendar month number |
day | French Republican Calendar day of month |
year | French Republican Calendar year |
Converts a French Republican Calendar date to Julian day count.
Returns:
Julian day count; 0 if any parameter falls outside the valid range
Description:
frenchtojd() converts a French Republican Calendar date to a Julian day count. If any of the function arguments falls outside the acceptable range, the function returns 0.
The following table shows the acceptable ranges for the parameters of this function.
Parameter | Acceptable Range of Values |
---|---|
month | 1 to 13 |
day | 1 to 30 |
year | 1 to 14 |
Note:
The French Republican Calendar was developed around the time of the ...
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.