Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. jdbc:mysql://localhost/db?useTimezone=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
  2.  
  3. mysql> SELECT TIMESTAMPDIFF(MINUTE, u.date_created, now()) from user u;
  4. +----------------------------------------------+
  5. | TIMESTAMPDIFF(MINUTE, u.date_created, now()) |
  6. +----------------------------------------------+
  7. | 60 |
  8. +----------------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement