I want to make sure that a whole script is using by default only UTC. Any idea how to do that? I have been looking for solutions, but somehow not found anything working. Really all what I want is to make sure that:
import datetime
# SOME CODE HERE
print(datetime.datetime.fromtimestamp(0).strftime('%Y-%m-%d %H:%M:%S'))
Does print 1970-01-01 00:00:00, on any machine, without more trouble, and that everything is treated as UTC.