oGregorian"></a>JulianToGregorian</h1>
<p>Converts a Julian date to a Gregorian date.</p>
<pre><code>FUNCTION JulianToGregorian (BYVAL nJulian AS LONG, BYVAL nDay AS LONG, _
   BYVAL nMonth AS LONG, BYVAL nYear AS LONG) AS LONG
</code></pre>
<table>
<thead>
<tr class="header">
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><em>nJulian</em></td>
<td>The Julian date.</td>
</tr>
<tr class="even">
<td><em>nDay</em></td>
<td>Out. The day (1-31).</td>
</tr>
<tr class="odd">
<t