Advertisement
Guest User

Untitled

a guest
Oct 7th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # mysql -u root -p
  2. Enter password:
  3. Welcome to the MySQL monitor. Commands end with ; or \g.
  4. Your MySQL connection id is 19
  5. Server version: 5.5.28-log Source distribution
  6.  
  7. Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
  8.  
  9. Oracle is a registered trademark of Oracle Corporation and/or its
  10. affiliates. Other names may be trademarks of their respective
  11. owners.
  12.  
  13. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  14.  
  15. mysql> SELECT CONVERT_TZ('2012-06-07 12:00:00', 'GMT', 'America/New_York');
  16. +--------------------------------------------------------------+
  17. | CONVERT_TZ('2012-06-07 12:00:00', 'GMT', 'America/New_York') |
  18. +--------------------------------------------------------------+
  19. | 2012-06-07 08:00:00 |
  20. +--------------------------------------------------------------+
  21. 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement