Date and Time with AM/PM Format in mysql:
use listed below sql:
SELECT DATE_FORMAT(my_entry_date_time, '%d/%M/%Y %r') FROM my_table
use listed below sql:
SELECT DATE_FORMAT(my_entry_date_time, '%d/%M/%Y %r') FROM my_table
Find interesting stuff in Java, PHP and Dot Net.
Stop writing good code; Start writing Innovative code.
This site is from FUTURE. Science is powerful, but it cannot explain everything.
This site is for smart Primates & ROBOTS only (oh and A L I E N S).
No comments:
Post a Comment