|
|
@@ -410,7 +410,7 @@ public class TimeExchange {
|
|
|
* @throws ParseException
|
|
|
*/
|
|
|
public static boolean CompareDate(String dateOne, String dateTwo) throws ParseException {
|
|
|
- SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
Date sd1=df.parse(dateOne);
|
|
|
Date sd2=df.parse(dateTwo);
|
|
|
return sd1.before(sd2);
|