Python Dates and Times in Python Where on Earth do Timezones Make Sense? Timezone Maker

timezone maker challenge task 2

what's wrong with my code
import datetime

pacific = datetime.timezone(datetime.timedelta(hours=8))
moscow = datetime.timezone(datetime.timedelta(hours=+4))

2 Answers

Don Newcomb


pacific = datetime.timezone(datetime.timedelta(hours=-8))

No worries I then figured out!!!

Don Newcomb
Don Newcomb
4,755 Points

Maybe you can help me. Cause I don't know what I'm doing wrong. I wrote pretty much exactly what you wrote above...