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.

trends fetch
#4
The timestamp is not exactly UTC but the current timestamp is used as if it was a UTC time. This is needed for days start at 0:00, otherwise the daily data calculation will be wrong.

Use this to convert trend timestamp to a formatted date string:
Code:
os.date('!%d %m %Y %H:%M',value[1])
Reply


Messages In This Thread
trends fetch - by jmir - 04.09.2024, 10:27
RE: trends fetch - by admin - 04.09.2024, 10:29
RE: trends fetch - by jmir - 04.09.2024, 10:44
RE: trends fetch - by admin - 04.09.2024, 13:11
RE: trends fetch - by jmir - 04.09.2024, 14:08
RE: trends fetch - by admin - 05.09.2024, 06:07
RE: trends fetch - by jmir - 05.09.2024, 06:09

Forum Jump: