marcov
tzseconds is initialized in the GetLocalTimezone function of the timezone.inc file. Maybe it would be possible to copy the implementation, but the memory manager is used there, which I need to avoid (my unit, for example, can be used inside an alternative manager, so these functions cannot be used). I want to find a simple alternative way.
As far as I understand, the problem is that the time function returns local time, not UTC.