Calculating Jday(Julian Day) in javascript
<p>I have requirement to calculate <code>jday</code> in javascript , for doing client side validation , Can any one help me how to calculate <code>JDAY</code> in javascript or script to change given JDAY to actual date or vice versa . </p>

<p>To know what is JDay ,I found the following site , </p>

<p><a href="http://www.pauahtun.org/Software/jday.1.html" rel="nofollow">http://www.pauahtun.org/Software/jday.1.html</a></p>

<p>Am also refering the below site for calculation which is mentioned in JAVA </p>

<p><a href="http://www.rgagnon.com/javadetails/java-0506.html" rel="nofollow">http://www.rgagnon.com/javadetails/java-0506.html</a></p>

<p>Thank you in advance</p>
