title: How to get time from an NTP server?
body: <p>I need to get the time for the UK from an NTP server. Found stuff online however any time I try out the code, I always get a return date time, the same as my computer. I changed the time on my computer to confirm this, and I always get that, so it's not coming from the NTP server.</p>
  <pre><code>import ntplib
  from time import ctime
  c = ntplib.NTPClient()
  response = c.request('uk.pool.ntp.org', version=3)
  response.offset
  print (ctime(response.tx_time))
  print (ntplib.ref_id_to_text(response.ref_id))
  
  x = ntplib.NTPClient()
  print ((x.request('ch.pool.ntp.org').tx_time))
  </code></pre>