Thursday, July 9, 2015

How do you offload the time/date handling to MySQL?


SELECT DATE_FORMAT(techpreparation_timestamp, ‘%Y-%m-%d’) from techpreparation_questions; A similar TIME_FORMAT function deals with time.

No comments: