原文:JS获取当前时间(yyyy-MM-dd HH:mm:ss)

export function sysTime var myDate new Date var year myDate.getFullYear var month myDate.getMonth var date myDate.getDate var h myDate.getHours var m myDate.getMinutes var s myDate.getSeconds var now ...

2020-03-25 17:16 0 708 推荐指数:

查看详情

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