12 2020 档案
摘要:话不多说,直接看效果图: 代码如下: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" cont
阅读全文
摘要:最佳答案 如果这个日期格式是固定的话: var time = strTime.substring(0, strTime.indexOf(' '));这样就可以了。 其中indexOf(' ')表示第一个空格所在位置。请及时采纳!谢谢! @Anders_Zeus: substring 方法用于提取字符
阅读全文