How many days elapsed of the current year
<p>I want to get number of days elapsed from the current years Jan 1st to today date. I am making a unique id and I want to use it as part of the id. I want number to fixed to three digits with leading zeros. Plz help. </p>

<p>e.g.</p>

<p>Today : 2012-2-27
Then number of days elapsed is 057. </p>
