MivaScript Builtin Function, Miva Merchant 9+
time_t_dayofyear( timet, time_zone )
<mvt:assign name="g.return_value" value="time_t_dayofyear( timet, time_zone )" />
Returns the number of days since the beginning of the year, including today. time_zone can be the keyword 'local'
timet
time_zone