21.01.2019, 20:49
(21.01.2019, 07:56)admin Wrote: Use this for sunrise/sunset. Object data type must be set to text/string.
Code:astro = data.forecast.forecastday[ 1 ].astro
grp.write('32/4/1', astro.sunrise)
grp.write('32/4/2', astro.sunset)
grp.write('32/4/3', astro.moonrise)
grp.write('32/4/4', astro.moonset)
You can also use built-in rscalc function for this: https://forum.logicmachine.net/showthread.php?tid=1010
thanks admin...