Identifying whether Date in daylight saving or not in Mysql
H开发者_开发问答ow to identify if a date is in daylight saving time zone or not in mysql ?
Store dates in MySQL using UTC times (which have no daylight savings). That way, you can be assured of standardization in the database, and you can handle timezones in the code reliably.
精彩评论