how to store "2010-03-26 10:13:04 Etc/GMT" mysql?

Posted by kkchaitu on Stack Overflow See other posts from Stack Overflow or by kkchaitu
Published on 2010-03-30T11:03:49Z Indexed on 2010/03/30 11:13 UTC
Read the original article Hit count: 293

Filed under:
|
|
|
|

Hi All,

I would like to store "2010-03-26 10:13:04 Etc/GMT" value in column of type datetime.

when i try to insert it i got exception

SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10:13:04 Etc/GMT', at line 1

how to insert data time with time zone.

Thanks in advance. please help me its urgent.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about timezone