Skip navigation links

MySQL Forums :: General :: Time Manipulation In Query


Advanced Search

Re: Time Manipulation In Query
Posted by: Rick James ()
Date: November 29, 2011 09:02PM

It depends.
Does `dateTimer` represent GMT or PST?
Does '2011-10-19 00:00:00' represent GMT or PST?
Do you care about Daylight Savings Time?

Consider this function as being a clearer way to convert times:
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_convert-tz

Options: ReplyQuote


Subject Written By Posted
Time Manipulation In Query newbie Shai 10/23/2011 03:13PM
Re: Time Manipulation In Query Rick James 10/24/2011 10:26AM
Re: Time Manipulation In Query newbie Shai 10/25/2011 09:22AM
Re: Time Manipulation In Query Rick James 10/25/2011 05:26PM
Re: Time Manipulation In Query newbie Shai 10/25/2011 11:26PM
Re: Time Manipulation In Query Rick James 10/26/2011 09:31PM
Re: Time Manipulation In Query newbie Shai 10/26/2011 08:24PM
Re: Time Manipulation In Query newbie Shai 10/28/2011 11:27PM
Re: Time Manipulation In Query Rick James 10/30/2011 12:28PM
Re: Time Manipulation In Query newbie Shai 11/01/2011 07:35PM
Re: Time Manipulation In Query Rick James 11/21/2011 11:50PM
Re: Time Manipulation In Query newbie Shai 11/23/2011 11:27AM
Re: Time Manipulation In Query Rick James 11/24/2011 11:39AM
Re: Time Manipulation In Query newbie Shai 11/24/2011 12:11PM
Re: Time Manipulation In Query Rick James 11/25/2011 12:24PM
Re: Time Manipulation In Query newbie Shai 11/26/2011 01:54AM
Re: Time Manipulation In Query Rick James 11/26/2011 10:44PM
Re: Time Manipulation In Query newbie Shai 11/27/2011 04:15AM
Re: Time Manipulation In Query Rick James 11/28/2011 11:09AM
Re: Time Manipulation In Query newbie Shai 11/28/2011 07:52PM
Re: Time Manipulation In Query Rick James 11/29/2011 09:02PM
Re: Time Manipulation In Query newbie Shai 11/30/2011 07:29AM
Re: Time Manipulation In Query newbie Shai 11/20/2011 11:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.