NetTime and daylight savings
Pages: 1 2
Sprow (202) 1155 posts |
Actually, I think I’m changing my mind on that having now tried it out. The problem is that with an old territory module (which doesn’t look at the value of R0 it is passed) you never get an error back – so the loop exit has to either be an error or a duplicate set of results. All a bit messy. So, I think it’s time to wheel out a magic value in R4. SWI Territory_ReadTimeZones (&4304A) => R0 = territory number or -1 to use the current one R1 = timezone within territory to lookup R4 = magic number to enable use of R1 <= R0 = name of standard time R1 = name of summer time R2 = signed offset of standard time from UTC in cs R3 = signed offset of summer time from UTC in cs R4 = 0 (or unchanged if territory doesn't understand the extended API) |
Pages: 1 2