In my Mysql 5.0 DB I have a column to control LastUpdated information. The Column is a TimeStamp one and MySql automatic updates data.
I\'m trying to select this co
I needed to alter this to add the "Z" at the end of other things (i.e. like jQuery timeago) knew the time was UTC:
SELECT CONCAT(CONVERT_TZ(`timestamp_field`, @@session.time_zone, '+00:00'), 'Z') AS `utc_datetime` FROM `table_name`