DST algorithms, etc: </p>
        <pre class="tty">time_dt = datetime.datetime.fromtimestamp(last_ts)
delta = datetime.timedelta(seconds=10800)
next_dt = time_dt + delta
next_ts = int(time.mktime(next_dt.timetuple()))</pre>
        <p>Other time conversion problems are handled in a similar manner. </p>
        <p>For astronomical calculations, weeWX uses the latitude and longitude
          specified in the configuration file.  If that location does not
          correspond to the computer's local time, rep