May 21, 2015

How to Resolve Zipcodes to Timezones

A friend emailed me in the middle of the night asking me if I knew of any simple method to resolve postal codes to timezones in the United States. Enter python and flask:

There may very well be a clever way to refactor the if statement, but this does work, so I can't be bothered.

No comments:

Post a Comment