Skip navigation links

MySQL Forums :: General :: Time Manipulation In Query


Advanced Search

Re: Time Manipulation In Query
Posted by: Rick James ()
Date: October 24, 2011 10:26AM

dateTimeStartJourney -- TIMESTAMP or DATETIME??

Do you want dateTimeStartJourney/dateTimeEndJourney to be in "local" time? GMT? or something else? Note how airline schedules always say local time, so a plane can appear land before it takes off.

SHOW VARIABLES LIKE "%zone%"; -- these control part of your answer.

You may need to save the timezone info as another column. Do not save "+08:00" unless that has already been compensated for daylight savings time for the particular time.

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.