How can I determine, in php, whether a certain date and time (ex: 2018-09-30 09:00:00) use winter-time or summer-time? And once I know whether it is one or the other, how do I add 1 hour to the dates in summer-time?
Example:
2018-08-10 08:00:00 --> this is summer-time, so I need to add 1hour --> 2018-08-10 09:00:00
2018-08-10 23:30:00 --> adding 1 hour will be 2018-08-11 00:30:00 (in this case the day changes)
2018-12-12 08:00:00 --> this is winter-time, the date stay the same.