Hi Benoît, On Thu, May 04, 2017 at 08:50:33AM +0200, Benoît GARNIER wrote: (...) > If you do the following operation : time_t => localtime() => struct tm > => timegm() => time_t, your result will be shift by the timezone time > offset (but without any DST applied). > > Technically, if you live in Great Britain, the operation will succeed > during winter (but will offset the result by 1 hour during summer, since > DST is applied here).
So in short you're saying that we should always use mktime() instead ? Willy

