timezonedoes not effectunix_timestamps
SET time_zone='-05:00';
SELECT unix_timestamp();` # this
SET time_zone='-06:00';
SELECT unix_timestamp(); # equals thistimezoneONLY come into play when converting from strings to unixtime.- in
mysqlcomparing unixtimes ignores timezone
- in
- the system timezone does effect time strings but not unixtime
import time,os;
os.environ['TZ'] = 'UTC'
time.tzset()
date1 = datetime.datetime.now()
os.environ['TZ'] = 'US/Central'
time.tzset();
date2 = datetime.datetime.now();
ThisIsTrue = (date1.hour != date2.hour)- not only does it not Save time but it wastes mine
- starts on second Sunday in March (DST) && ends on the first Sunday in November (STD)
- random locations do not observe Daylight Savings. I'll move to one of these locations some day.
End the madness this is a call to action to tell your local politicians they need to vote agains DST.