Hi. Could some on please explain why datetime.getoffsetat returns an offset of 1 when it surely should be zero?
My tablet is currently on GMT +1due to daylight saving time.
My actual issue is this:
I have built an app which inserts sports fixture dates and start times into the default calendar. The app parses both the fixtures date/time and the epoch date time. It subtracts one from the other to obtain the start time for the calendar entry. This is consistently one hour later than the actual start time.
I have changed the tablet date so that the timezoneoffset is zero, but that makes no difference
Any help greatly appreciated
Malcolm
My tablet is currently on GMT +1due to daylight saving time.
My actual issue is this:
I have built an app which inserts sports fixture dates and start times into the default calendar. The app parses both the fixtures date/time and the epoch date time. It subtracts one from the other to obtain the start time for the calendar entry. This is consistently one hour later than the actual start time.
I have changed the tablet date so that the timezoneoffset is zero, but that makes no difference
Any help greatly appreciated
Malcolm