sqlite将时间转换为本地时间读取

select datetime(timestamp, 'localtime')

https://stackoverflow.com/questions/381371/sqlite-current-timestamp-is-in-gmt-not-the-timezone-of-the-machine

posted @ 2018-11-04 18:03  ShaneSun  阅读(233)  评论(0编辑  收藏  举报