rem: var startDate = document.getElementById( "start-datetime" ).value; var dueDate = document.getElementById( "due-datetime" ).value;  if( startDate.getFullYear() == dueDate.getFullYear() && startDate.getMonth() == dueDate.getMonth() && startDate.getDay() == dueDate.getDay() ) return( 0 );  else if ( dueDate < startDate) return -1; else if (dueDate > startDate) return 1; 
add: var startDate = document.getElementById( "start-datetime" ).value; var dueDate = document.getElementById( "due-datetime" ).value; compareIgnoringTimeOfDay(dueDate, startDate); 
context: function checkDueDate(){   var startDate = document.getElementById( "start-datetime" ).value;    var dueDate = document.getElementById( "due-datetime" ).value;       if( startDate.getFullYear() == dueDate.getFullYear() &&       startDate.getMonth() == dueDate.getMonth() &&       startDate.getDay() == dueDate.getDay() )      return( 0 );   else if ( dueDate < startDate)      return -1;   else if (dueDate > startDate)      return 1;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7cf8f4a5a133269c8abdbc4d7ed791799ba534d2/eventDialog.js/clean/calendar/resources/content/eventDialog.js