# Equation of time and solar noon

Hello

If I am not mistaken

“The equation of time is defined as the offset between mean time (my local clock) and solar time. Solar time is judged by the position of the Sun in the sky, where midday is the moment when the Sun appears highest in the sky on every day of the year”

import ephem
import datetime
from datetime import datetime
import time
ts = time.time()
#####now = datetime.now()

date = datetime.now()

######print "Date: " + str(date)

obs=ephem.Observer()
obs.date = ‘2021-01-04 09:15:53’
###obs.date = date

obs.lat = ‘53.4975’

obs.lon = ‘-2.99’

sun = ephem.Sun()
sun.compute(obs)

transit = obs.next_transit(sun).datetime()
transit_sun = (‘Local noon is at {}:{}:{}’.format(transit.hour, transit.minute, transit.second))
print (float(sun.alt))
print (str(sun.alt))
sun_angle = float(sun.alt) * 57.2957795 # Convert Radians to degrees
print (“sun_angle: %f” % sun_angle, sun.alt, sun.az)
print (sun.alt, sun.az)

print (transit_sun)

print (transit)

t = datetime.time(transit)
ts = t.hour * 3600 + t.minute * 60 + t.second
print (ts)

######th = ‘{0:.2f}’.format(ts/3600)

#####print (th)

tdiff = ts-43200

The above python script will give me a solar noon of around 12.17. if I am correct that’s 17 minutes after the noon on my local clock
Yet looking at the equation of time produced on web sites it is around 5 minutes not 17

So I am confused

What is the difference between?
The equation of time and solar noon

thanks for any help