I have following query
SELECT str_to_date(`created_at`,'%Y-%m-%d %H:%i:%s') AS `created_at
FROM `categories`
If I run this query on PHPMyadmin it's working fine. and gives result
2014-09-15 11:59:55 , 2014-09-15 12:40:12
I am getting Result in JSON Format OutPut is showing like this
2014-09-15T06:29:55.000Z
Mon Sep 15 2014 11:59:55 GMT+0530 (India Standard Time)
I want same output which is in MYSQL. I have datetime in MYSQL. Does anybody help me out