原文:JS 获取当前日期(yy-mm-dd HH-MM-SS)

function getNowDate var date new Date var seperator var seperator : var month date.getMonth var strDate date.getDate if month gt amp amp month lt month month if strDate gt amp amp strDate lt strDate s ...

2017-07-14 15:15 0 2504 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM