How to get date from a timestamp in mysql? Get link Facebook X Pinterest Email Other Apps - December 19, 2012 How to get date from a timestamp in mysql? simple you can use FROM_UNIXTIME function and pass the parameter. my table name is messages like this: SELECT FROM_UNIXTIME(`created`,'%Y-%m-%d') as date FROM `messages` Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment