Recordsetclown
Technical User
I would like to display the latest UTC date/time value in my db as the date/time it would have been in my time zone. The following returns null. Can anyone tell me what is wrong with the query. Perhaps it is that I'm not referencing the time zones correctly, but I couldn't find how to determine what time zones my server will recognize.
SELECT DATE_FORMAT(CONVERT_TZ(listingsdb_last_modified,'GMT/UTC','US/Eastern'), '%M %e, %Y, %h:%i %p') AS lmd FROM default_en_listingsdb ORDER BY listingsdb_last_modified DESC LIMIT 1
Thanks for any help.
SELECT DATE_FORMAT(CONVERT_TZ(listingsdb_last_modified,'GMT/UTC','US/Eastern'), '%M %e, %Y, %h:%i %p') AS lmd FROM default_en_listingsdb ORDER BY listingsdb_last_modified DESC LIMIT 1
Thanks for any help.