Printing Datetime.now() gives the wrong time by 1 hour

This is the exercise I was doing when I realised this: https://www.codecademy.com/courses/learn-python/lessons/date-and-time/exercises/getting-the-current-date-and-time

When I print the time, I get an answer of exactly 1 hour earlier than it actually is in the UK currently, does anyone know why this is?

Thanks!

Is that daylight saving time?

I suppose it is, but currently the UK is using British summer time so it doesn’t make sense to me that that isn’t accounted for.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.