Home  >  Article  >  Database  >  mysql-请问Jan 1, 2015 6:01:01 AM如何转化为datetime类型

mysql-请问Jan 1, 2015 6:01:01 AM如何转化为datetime类型

WBOY
WBOYOriginal
2016-06-06 09:37:101160browse

mysqlpythonunicode

Jan 1, 2015 6:01:01 AM这个是时间是从数据库里读出来的,读出来后是Unicode数据类型,我现在要把它存入mysql数据库的datetime数据类型里卖,请问如何修改?
或者存为其他时间类型也行,比如datetime,或者timestamp,谢谢

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn