I've spent a lot of wasted time on figuring out timezone issues. I know best practice is to store everything as UTC... but I'm at the point where I don't trust UTC timezone is always preserved.
So my question, is it safe and/or cheaper to store dates as epoch milliseconds in the database instead of a Date type to avoid headaches of whether or not server libraries will convert and stores timezones properly? I found that storing as milliseconds basically fools any servers or even the database to not convert.