文件名称:date-time.js:Date-Time.js-简单JavaScript日期和时间函数
文件大小:3KB
文件格式:ZIP
更新时间:2024-06-06 01:58:44
JavaScript
date-time.js Date-Time.js-简单JavaScript日期和时间函数 // generic var d = new Date ( ) ; var colon = ":" ; var space = " " ; // month-year.js var year = d . getFullYear ( ) . toString ( ) ; var m = [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" ] ; var month = m [ d . getMonth ( ) ] ; var monthYear = month . concat ( s
【文件预览】:
date-time.js-master
----README.md(4KB)
----LICENSE(1KB)
----date-time.js(4KB)