日付の比較

control = getComponent("Date");
val = control.getValue();
var today = new java.util.Date();
if (today.compareTo(val)<0 ){
  // Todays date is less than the date in the Date field
}




JavaScript (Server)
katoman
August 19, 2015 at 3:06 PM
Rating
0





No comments yetLogin first to comment...