How do you offload the time/date handling to MySQL?
By Balu Prasad
How do you offload the time/date handling to MySQL?
Teacher SiliconIndia replied to Balu Prasad Thursday, March 18, 2010
Hi Balu,
SELECT DATE_FORMAT(techpreparation_timestamp, '%Y-%m-%d') from techpreparation_questions; A similar TIME_FORMAT function deals with time.