This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Get last 20 minutes average value of object
#6
I would just calculate how many seconds are in current hour and use it for pastTime like this

Code:
now = os.date('*t')
pastTime = now.min*60 +now.sec
------------------------------
Ctrl+F5
Reply


Messages In This Thread
RE: Get last 20 minutes average value of object - by Daniel - 14.06.2022, 07:43

Forum Jump: