rem: var dateStr = time.getMonth() + 1; dateStr += "/"; dateStr += time.getDate(); dateStr += "/"; dateStr += 1900 + time.getYear(); 
add: var year, month, date; initializeSearchDateFormat();  year = 1900 + time.getYear(); month = time.getMonth() + 1; date = time.getDate();  var dateStr; var sep = gSearchDateSeparator;  switch (gSearchDateFormat) { case 1: dateStr = year + sep + month + sep + date; break; case 2: dateStr = year + sep + date + sep + month; break; case 3: dateStr = month + sep + date + sep + year; break; case 4: dateStr = month + sep + year + sep + date; break; case 5: dateStr = date + sep + month + sep + year; break; case 6: dateStr = date + sep + year + sep + month; break; default: dump("valid search date format option is 1-6\n"); }  
context: function convertDateToString(time){  var dateStr = time.getMonth() + 1;  dateStr += "/";  dateStr += time.getDate();  dateStr += "/";  dateStr += 1900 + time.getYear();  return dateStr;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2035538e9c40d174a8eaced963064e5102b052cf/searchTermOverlay.js/buggy/mailnews/base/search/resources/content/searchTermOverlay.js