摘要:
<html> <head> <script type="text/javascript"> function change() { var pattern=/^ *(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}) *$/; var outcome1=pattern.exec(str.value); var outcome2=pattern.exec(end.value); if (outcome1 && outcome2) { var result = compare2(out 阅读全文