Jump to content

French Republican calendar: Difference between revisions

m
Line 199:
 
=={{header|FreeBASIC}}==
{{trans|BBC BASIC}}
Computes leap years using the "continuous" method: a year in the Republican calendar is a leap year if and only if the number of the <i>following</i> year is divisible by 4 but not by 100 unless also by 400. No attempt is made to deal with ill-formed or invalid input dates.
<lang freebasic>' version 18 Pluviose 227
' compile with: fbc -s console
457

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.