the date style stored in the database is as this : 1310783109.
eg: the date field is updatetime. when i using this:
SELECT updatetime from node_software
then in my template file i using this {updatetime}. it outputs 1310783109. is there a way to format the date in the sql command then to make the output like this 07-28. namely, the month-the day. thank you.
You can do this using FROM_UNIXTIME: