Date-Convert-French_Rev

 view release on metacpan or  search on metacpan

eg/result/g2r_en.html  view on Meta::CPAN

<td>+10 Bru<br />-20 Fri</td>
<td>+11 Bru<br />-19 Fri</td>
</tr>
<tr align='center'><td>December</td><td>+8 Fri<br />-22 Niv</td>
<td>+9 Fri<br />-21 Niv</td>
<td>+10 Fri<br />-20 Niv</td>
<td>+11 Fri<br />-19 Niv</td>
</tr>
</table>
<p>
<p>
<table border>
<tr><th colspan='7'>Month names and day names</th></tr>
<tr><td>Vnd</td><td>Vendémiaire</td><td></td>
    <td align = 'right'>1</td><td align = 'right'>11</td><td align = 'right'>21</td>
    <td>Primedi / Primidi</td></tr>
<tr><td>Bru</td><td>Brumaire</td><td></td>
    <td align = 'right'>2</td><td align = 'right'>12</td><td align = 'right'>22</td>
    <td>Duodi</td></tr>
<tr><td>Fri</td><td>Frimaire</td><td></td>
    <td align = 'right'>3</td><td align = 'right'>13</td><td align = 'right'>23</td>
    <td>Tridi</td></tr>
<tr><td>Niv</td><td>Nivôse</td><td></td>
    <td align = 'right'>4</td><td align = 'right'>14</td><td align = 'right'>24</td>
    <td>Quartidi</td></tr>
<tr><td>Plu</td><td>Pluviôse</td><td></td>
    <td align = 'right'>5</td><td align = 'right'>15</td><td align = 'right'>25</td>
    <td>Quintidi</td></tr>
<tr><td>Vnt</td><td>Ventôse</td><td></td>
    <td align = 'right'>6</td><td align = 'right'>16</td><td align = 'right'>26</td>
    <td>Sextidi</td></tr>
<tr><td>Ger</td><td>Germinal</td><td></td>
    <td align = 'right'>7</td><td align = 'right'>17</td><td align = 'right'>27</td>
    <td>Septidi</td></tr>
<tr><td>Flo</td><td>Floréal</td><td></td>
    <td align = 'right'>8</td><td align = 'right'>18</td><td align = 'right'>28</td>
    <td>Octidi</td></tr>
<tr><td>Pra</td><td>Prairial</td><td></td>
    <td align = 'right'>9</td><td align = 'right'>19</td><td align = 'right'>29</td>
    <td>Nonidi</td></tr>
<tr><td>Mes</td><td>Messidor</td><td></td>
    <td align = 'right'>10</td><td align = 'right'>20</td><td align = 'right'>30</td>
    <td>Décadi</td></tr>
<tr><td>The</td><td>Thermidor</td></tr>
<tr><td>Fru</td><td>Fructidor</td></tr>
<tr><td>S-C</td><td colspan='7'>Sans-Culottides / Additional Days</td></tr>
</table>
<p>
<p>
<h3>How to convert 09 November 1799</h3>
<p>Look at the first table. The Gregorian year <strong>1799</strong> belongs to the interval
<em>1792&nbsp;-&nbsp;1799</em> and its last two digits are
<em>99</em>.
The cell in the corresponding
line and column contains the three letters <em>cfk</em>.
<p>Look at the next three tables.
The month <strong>November</strong> appears in the <em>End of Year</em> table, at
the head of which is the fomula <em>Year&nbsp;-&nbsp;1791</em>.
So you can compute that the French Revolutionary year is <strong>8</strong>.
Of the three letters <em>cfk</em>, the letter <em>k</em> appears
in the same table. The corresponding cell contains two formulas:
<em>+9 Bru -21 Fri</em>. Choose the one that will convert the day number <strong>09</strong>
into a number in the 1-30 range. That is, up to and including
<strong>21 November</strong>, use
the first formula <em>+9 Bru</em>, and later use the second formula <em>-21 Fri</em>.
Since the Gregorian day number is <strong>09</strong>, you use <em>+9 Bru</em>, and you get
<strong>18 Bru</strong>. The final step consists in retrieving the day's full name
and the month's full name in the last table, which gives
<strong>Octidi 18 Brumaire VIII</strong>.

<h3>How to convert 09 September 1799</h3>
<p>What about September? The first step is the same, and gives the same three letters
<em>cfk</em>.
<p>But <strong>September</strong>
appears both in the
<em>Middle of Year</em>
table, and in the
<em>End of Year</em>
table. The first one gives two formulas for the day:
<em>+14 Fru</em>
and
<em>-16 S-C</em> (<em>f</em>
column), and one for the year:
<em>Year&nbsp;-&nbsp;1792</em>.
The second table gives
<em>-22 Vnd</em> for the day
(<em>k</em>
column) and
<em>Year&nbsp;-&nbsp;1791</em>
for the year.
<p>Try the last formula <em>-22 Vnd</em>,
then the prior one <em>-16 S-C</em>, then the first one <em>+14 Fru</em>,
until you have a result greater than or equal to 1.
<p>For <strong>09 September 1799</strong>, you would choose <em>+14 Fru</em>,
with the corresponding year formula <em>Year&nbsp;-&nbsp;1792</em>,
which gives you <strong>23 Fru 0007</strong>, or better
<strong>Tridi 23 Fructidor VII</strong>.
</body>
</html>



( run in 0.980 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )