loughkb/IC-7300-time-sync

Perhaps could simplify GMT offset

Opened this issue · 0 comments

time is a seconds count since the epoch (1970, etc.). Perhaps it would be easier to express GMT offset as a count of seconds (hours * 3600) and just add that to 't' before breaking it into H/M/S fields? This would inherently handle date roll-over.