Hello Stefan,
There is a function (Seconds to date/time), in the time & dialog group, that does that - the day of the year is one of the components of the cluster it returns.
You can connect directly to it a timestamp or a number representing seconds since 1904/1/1 (old LabVIEW timestamp).
Hope this helps,
Paulo