04.09.2024, 13:11
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:
Use this to convert trend timestamp to a formatted date string:
Code:
os.date('!%d %m %Y %H:%M',value[1])