Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一列StartDateTime具有值,2/10/2008 6:30:12 我只需要2/10/2008检索日期部分即可。我尝试strftime()在date().sqlite
StartDateTime
2/10/2008 6:30:12
2/10/2008
strftime()
date()
sqlite
这不是受支持的日期/时间格式之一。
2008-10-02 06:30:12而是以格式存储您的日期/时间。
2008-10-02 06:30:12