in reply to timestamp and summer time

Either store your timestamps in UTC (which is what your database should do when storing timestamps), or store datetimes which include the timezone, and dst information.