Hey Tony,
Thanks for the tip. However when I execute your statement, It is returning $ymd as 2006-02-19!. Is there some numbers to be changed inorder to get the correct julian date.
Yes I mean the julian day for the year. Hence for today, (2006-01-16), the julian day is 16.