Is there any function which gives me local time depending on system locale settings? > I assume that the problem is that your main clock is set to GMT, so then you > have 1 hour timezone + 1 hour summer time difference. > > IOW, you need to correct that result for time differences.