Last active
February 2, 2018 11:59
-
-
Save kmonsoor/a17f1199694c6f374390818e502c42ae to your computer and use it in GitHub Desktop.
MySQL get current date in PST timezone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Get current date in PST time-zone | |
SELECT DATE_ADD(DATE(CONVERT_TZ(current_time(), 'GMT', 'US/Pacific')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment