Whoever has handled timestamps with timezones in time series analysis has always faced some headache. No matter how many times I deal with time series, which in my case invariantly involves dealing with time zones, I always have to revisit how it works because it is often counter-intuitive.

The need

Working with time series often involves dealing with different timezones. Even working with just one time zone, you might still want to visualise data in your local time zone, which might change depending on the country of the user.

This situation makes it convenient to use UTC as a reference. Why? Because it does not experience daylight saving changes and it is easy to convert to any timezone.

#c #time-series-analysis #data #programming #data-science

3 tips to handle timestamps in C
1.05 GEEK