mySQL has DATE_SUB()
:
SELECT DATE_SUB(column, INTERVAL 3 HOUR)....
but would it not be better to try and sort out the underlying time zone issue instead?
More Related Contents:
- Should I use the datetime or timestamp data type in MySQL?
- How do you set a default value for a MySQL Datetime column?
- MySQL Query GROUP BY day / month / year
- Error in MySQL when setting default value for DATE or DATETIME
- How to group by week in MySQL?
- Difference between two dates in MySQL
- MySQL Query to select data from last week?
- MySQL convert date string to Unix timestamp
- Mysql: Setup the format of DATETIME to ‘DD-MM-YYYY HH:MM:SS’ when creating a table
- How to store a datetime in MySQL with timezone info
- How to select date from datetime column?
- Datetime equal or greater than today in MySQL
- How to convert number of week into date?
- Set NOW() as Default Value for datetime datatype?
- Group mysql query by 15 min intervals
- SQL Query to show nearest date?
- How to convert time to the time zone of the iPhone device?
- Select data between a date/time range
- mysql: get record count between two date-time
- MySql difference between two timestamps in days?
- How to cast DATETIME as a DATE in mysql?
- How to get current date & time in MySQL?
- how to cast the hexadecimal to varchar(datetime)?
- How to compare timestamp dates with date-only parameter in MySQL?
- how to partition a table by datetime column?
- Get total hours worked in a day mysql
- MySQL select all rows from last month until (now() – 1 month), for comparative purposes
- MySQL: Insert datetime into other datetime field
- MySQL – How to parse a string value to DATETIME format inside an INSERT statement?
- Working with INTERVAL and CURDATE in MySQL