これが私の質問です。sqlite データベースに日付があります。私がやりたいことは次のとおりです。
SELECT dates FROM Table1 WHERE dates > date('now','-1 month');
結果は次のとおりです。
2013-02-21 12:04:22
2013-02-28 12:04:22
2013-02-01 12:04:22
これらの日付を次のように変換するにはどうすればよいですか。
2013-02-21 12:04:22 become 2 (day 2 of the month)
2013-02-28 12:04:22 become 9 (day 9 of the month)
2013-03-01 12:04:22 become 10(day 10 of the month)
前もって感謝します