MySQL Forums
Forum List  »  Spanish

Re: Wrong Field Type - VB6
Posted by: William Chiquito
Date: February 01, 2008 09:10PM

Hi Luis,

Try:
SELECT DATE(datetimefield) AS Date1, TIME_FORMAT(datetimefield, '%H:%i:%s') AS Time1 FROM sometable;

Options: ReplyQuote


Subject
Views
Written By
Posted
3726
February 01, 2008 02:40PM
Re: Wrong Field Type - VB6
1595
February 01, 2008 09:10PM


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.