I have a table with a column 'date' whose data type is TIMESTAMP.
Entries into this are made as follows:
INSERT INTO <table_name_1> (<othercolumns>,date)
SELECT
<othercolumns>,
NOW()
FROM <table_name_2>.
After retrieving the date from this table I need to compare it to some other date say, date2 a PHP DateTime Object. I know the timezone of date2. How do I determine the timezone of date from the table so I can compare it to date2 correctly.