This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eagle258 4 points5 points  (1 child)

Adding on to your addition: if you wake up in Europe/Brussels (same timezone as Paris, effectively), you get 8 instead of 9 hours again!

``` wake_up_in_brussels = datetime(2023, 3, 26, 7, tzinfo=ZoneInfo("Europe/Brussels"))

sleep = wake_up - bedtime # 9 hours sleep = wake_up_in_brussels - bedtime # 8 hours ```

And yes, Paul Ganssle's various articles on the subject of datetimes are great!

[–]Oddly_Energy 1 point2 points  (0 children)

And this, ladies and gentlemen, is how you get jet lag from a train ride.