/ Published in: MySQL
Convert a Drupal time stamp field into a readable format. The Drupal time stamp field is in the UNIX format.
Expand |
Embed | Plain Text
//For example SELECT users.name, pnts.points, FROM_UNIXTIME(pnts.time_stamp,'%Y %D %M %h:%i:%s') AS DATE, pnts.description, pnts.reference, pnts.operation, users.mail FROM userpoints_txn pnts LEFT JOIN users users ON users.uid = pnts.uid WHERE 1
You need to login to post a comment.
