Suk*_*iya 3 java sorting calendar date date-format
我有一个字符串数组,格式为ex:'2010-05-04 11:26:46 +0530'.如何检查数组中的特定日期是否>今天?
谢谢
DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z");
df.parse(datearray[i]).after(new Date())
Run Code Online (Sandbox Code Playgroud)