I would make a unix timestamp of it:
timestamp of year (Jan 1, 0:00) + (day of year 24 60 *60)
this formula gives the unix timestamp for your date, now dump it to any format you wish using date().
in order to get the timestamp of jan 1, see mktime().