<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 3 Feb 2011, at 18:33, Larry Ober wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">I am looking at building a small embedded system (No OS) that will require<span class="Apple-converted-space">&nbsp;</span><br>determining the local time from the lat/lon of a location. So basically I need<span class="Apple-converted-space">&nbsp;</span><br>lat/lon to time offset from "GMT".</span></span></blockquote></div><br><div>Does that work? &nbsp; I'm sure I can find places in Spain that are that are close to Lisbon than they are Madrid but being in Spain the timezone should be Europe/Madrid. &nbsp;Also, when you're on going through the channel tunnel do you go from being closer to Paris than you are to London only when you've left Calais? &nbsp;Or before you get to Dover?</div><div><br></div><div>Or have I got hold of the wrong end of the stick?</div><div><br></div><div>jch</div></body></html>