Re: [PHP-DB] Calculating Past Dates In A Different Time Zone
[email protected] ("Ron Piggott") Sun, 10 Nov 2013 19:22:04 -0500
| Newsgroups | php.db |
|---|---|
| Organization | Acts Ministries Christian Evangelism |
| Message-ID | <FE02D6218468481BB05B843F26E87712@RonPiggottPC> |
A suggestion I was given is to use the mySQL "CONVERT_TZ" command with the PHP time zone names. But when I do: SELECT CONVERT_TZ( `journal_entry`.`occurance_date` , 'GMT', 'America/Bahia' ) FROM `journal_entry` I am receiving "NULL" as the resulting date. Does mySQL accept PHP time zone names? Ron