Perlist at blogspot
2015/11/03
Get time zone from MySQL
SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);
SELECT EXTRACT(HOUR FROM (TIMEDIFF(NOW(), UTC_TIMESTAMP))) AS `timezone`;
MySQL Timezone Cheatsheet
Read this
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment