theScore Tech Blog

Things We Learn While Building the Ultimate, Personalized Mobile Sports Experience

All Posts Tagged “naive”

Timezones in Python

Datetimes in Python can either be Naive or Aware. A naive datetime is a datetime that is unaware which timezone it is in. It could be in UTC, it could be in US/Eastern, but it doesn't know. All it knows is which date and time that it has.

2 min read