Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.commons.util.DateUtil; String dateValue = "2015-06-01"; String format = "yyyy-MM-dd"; //check the format boolean valid = DateUtil.validateDateFormat(dateValue, format);
public static boolean compare(String start, String end, String format)
public static boolean validateDateFormat(String value, String format)
To validate a date value is in correct date format. Format following syntax of java.text.SimpleDateFormat.