><em>nDay</em></td>
<td>A day number (1-31).</td>
</tr>
</tbody>
</table>
<h4 id="return-value">Return value</h4>
<p>The astronomical day.</p>
<h4 id="remarks">Remarks</h4>
<p>Among other things, can be used to find the number of days between any two dates, e.g.:</p>
<pre><code>DIM cpt AS CPowerTime
PRINT cpt.AstroDay(-12400, 3, 1) - cpt.AstroDay(-12400, 2, 28)  ' Prints 2
PRINT cpt.AstroDay(12000, 3, 1) - cpt.AstroDay(-12000, 2, 28) ' Prints 8765822
PRINT cpt.AstroDay(1902, 2, 28) - cpt.AstroDay(1898, 3, 1