摘要: 1 var sDate = '11/2/2005 10:24:59'; 2 var sFormat = 'MM/dd/yyyy hh:mm:ss'; 3 4 function getDateFromFormat(dateString,formatString){ 5 var regDate = /\d+/g; 6 var regFormat = /[YyMmdHhSs]+/g;... 阅读全文
posted @ 2006-11-04 15:05 Think 阅读(4275) 评论(14) 推荐(0) 编辑