hi
SELECT NOW()
out put
2008-11-11 12:45:34
but i want mysql date function work as
out put :11-11-2008 12:45:34
Refer this
http://www.w3schools.com/sql/func_date_format.asp
SQL Fiddle
http://sqlfiddle.com/#!2/f9208/2
http://stackoverflow.com/questions/1861489/converting-a-date-in-mysql-from-string-field
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.