Compare Dates Stored as String using Datetime

前端 未结 1 772
陌清茗
陌清茗 2021-01-20 17:00

I have stored dates\' date as String in my database in the following format :

 dateFormater = new SimpleDateFormat(\"dd MMM yyyy\");

相关标签:
1条回答
  • 2021-01-20 17:18

    This is not one of the supported date formats.

    Just use yyyy-MM-dd.

    0 讨论(0)
提交回复
热议问题