Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 19
- Server version: 5.5.28-log Source distribution
- Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> SELECT CONVERT_TZ('2012-06-07 12:00:00', 'GMT', 'America/New_York');
- +--------------------------------------------------------------+
- | CONVERT_TZ('2012-06-07 12:00:00', 'GMT', 'America/New_York') |
- +--------------------------------------------------------------+
- | 2012-06-07 08:00:00 |
- +--------------------------------------------------------------+
- 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement