Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql datetime with timezone offset

INSERT INTO table_name  CONVERT_TZ(SUBSTR('2011-10-04 12:58:36 -0600',1,19),'+00:00',SUBSTR('2011-10-04 12:58:36 -0600',20));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #datetime #timezone #offset
ADD COMMENT
Topic
Name
4+7 =