MySQL Forums
Forum List  »  Newbie

Re: help with TIMESTAMP
Posted by: Paul McArdle
Date: July 03, 2005 01:22AM

select * from dt where dt = str_to_date('2005-07-03 18-11-51','%Y-%m-%d %H-%i-%s');
select * from dt where dt = str_to_date('2005:07:03 18:11:51','%Y:%m:%d %H:%i:%s');

http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html

Options: ReplyQuote


Subject
Written By
Posted
July 02, 2005 07:11PM
Re: help with TIMESTAMP
July 03, 2005 01:22AM


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.