Statistics Date one day ahead

S.H.3 years ago

Hi.
I figured out that the date in the statistics are one day ahead. Which means i get the values from 13th dated at 14th.
What did i do wrong?

Thanks for your support
Cheers
Stefan

Anton Tananaev3 years ago

How did you figure it out?

S.H.3 years ago

Maybe I misunderstood.

Does the date represent the day the statistic is been pulled?

Anton Tananaev3 years ago

Usually it's the last timestamp of the day, but if your server timezone is different from your browser timezone you might get different date.

S.H.3 years ago

Thanks for the reply.

Server is at UTC.
Laptop at UTC+2.

So in the morning at 8 o‘clock it should show the data for the last day.

But it shows date of today with the data from yesterday.

Anton Tananaev3 years ago

As I said, the timestamp is the last one of the day, so it irrelevant what time of the day you request the report.

S.H.3 years ago

Ok.
Understood.

But why do i have statistics for today when today is not even over?

See picture

Anton Tananaev3 years ago

Link doesn't open in the latest Firefox. Says "Unsupported browser".

S.H.3 years ago

Changed the link.
Please try again.

Anton Tananaev3 years ago

So let's say your device report every minute and the last message yesterday (Apr 13) was at 11.59pm UTC, then when you look at that timestamp in UTC+2, you will see Apr 14. Am I missing something?

S.H.3 years ago

This means i need to have both devices (server and Laptop) in the same timezone to see the „correct“ statistic?

But why do i have a statistic for the Apr 14th when this day is not over, nor in UTC nor in UTC+2?