dayofyear for html-templares
Posted: Fri May 01, 2015 1:51 pm
For calculating average values or balances it would be great to get the number of the actual 'day of the year'.
e.g.:
<data timeframe="actual">
<item sensor="date0" cat="dayofyear" unit="utc">120</item> (e.g. for 30th April this year)
For instance multiplying (math function in meteohub) the average solar radiation of the current year with the 'dayofyear' to get the sum of the solar radiation up to now.
Andreas
e.g.:
<data timeframe="actual">
<item sensor="date0" cat="dayofyear" unit="utc">120</item> (e.g. for 30th April this year)
For instance multiplying (math function in meteohub) the average solar radiation of the current year with the 'dayofyear' to get the sum of the solar radiation up to now.
Andreas