I am looping a year with carbon, incrementing on hour each loop.
I think, because time or hour change I am getting 8759 hours.
2015-03-29 02:00 is missing (when time changes)
I am trying with different time zones, but I don't see any change. Does anyone know how to get the loop for all the hours? What timezone should I use?
Or do I need to add out of the loop detecting the last sunday of march 02:00? I already have this done in other place, but I think that has to be a way to loop 8760 hours without adding one hour manually.
I am storing each hour "period type" for energy consumption. I don't know how it is in other countries but in Spain each hour has a period. I need to take a quarter measure and see what period belongs to (P3 table, p1,p2,p3, or P6: p1,p2,p3p,p4,p5,p6). So i have to build the calendar with each hour to be able check all the measures or readings. For example, 2015-05-02 02:15 , 2015-05-03 02:30.... 02:00-03:00: each hour has a "period value".