Is there a way to ignore DST?

I want to save my datetime and display it using a user's TimeZone ignoring DST at all times. Is this possible?

See if TimeZone.period_for_local works for you. It has a DST=false parameter.

Rather than storing a timezone string you could just store the offset, so since I'm in "Central Time US & Canada" I would just use "-0600" which would avoid DST when we switch to -0500.

Do you know what the user's timezone is? If so then take the timezone offset (which is distinct from the DST setting) and calculate the time accordingly.

Colin