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.
我有一个日期字符串数组,格式为 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())