Answers for "mysql timestamp arguments"

SQL
1

convert_tz mysql

CONVERT_TZ(datetime, from_tz, to_tz)

Example: 
SELECT CONVERT_TZ('2031-09-21 02:42:14', 'UTC', 'America/New_York');
output: 2031-09-20 22:42:14
Posted by: Guest on October-16-2020
0

mysql date equals to current_date plus days

SELECT CURRENT_DATE - INTERVAL 30 DAY
Posted by: Guest on June-04-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language