Day of month and year to mmddyyyy

I have a date that looks like this:

2008/100:18:40:47.040

I need it to look like this:

2008 04 09 18 40 47 040

I have looked at datecalc and it doesn't seem like it takes the day of year for this year (or whatever year is input) and converts it into month and day. It also has to account for leap years. Did I not see it there? Is there some easy way to convert this? Thanks.

Allyson

Day number of the year is known as Julian date; there's a pointer to information about that as well in http://www.unix.com/answers-frequently-asked-questions/13785-yesterdays-date-date-arithmetic.html

from the datecalc FAQ - Julian date thread

hth