Printing gives the wrong time by 1 hour

This is the exercise I was doing when I realised this:

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?


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.