title: Generate Julian date
body: <p>I have a piece of code which generates Julian date, but i need to generate a three digit Julian date. Can any help me out</p>
  
  <p>Code:</p>
  
  <pre><code>$jd = GregorianToJD(08, 02, 2013);
  </code></pre>
  
  <p>Output:  <strong>2456507</strong></p>