Skip to content

Instantly share code, notes, and snippets.

@slav123
Created October 16, 2012 04:06
Show Gist options
  • Save slav123/3897186 to your computer and use it in GitHub Desktop.
Save slav123/3897186 to your computer and use it in GitHub Desktop.
timezone convert in MySQL
insert into my_table (created_date) values (convert_tz(now(), 'GMT', 'US/Pacific'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment