Interview Questions

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

MySQL and SQL


(Continued from previous question...)

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

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

(Continued on next question...)

Other Interview Questions