node-text-date:获取日期组件的文本值

时间:2024-06-02 14:11:04
【文件属性】:

文件名称:node-text-date:获取日期组件的文本值

文件大小:2KB

文件格式:ZIP

更新时间:2024-06-02 14:11:04

JavaScript

节点文本日期 获取日期组件的文本值 用法 var textdate = require ( 'textdate' ) ; console . log ( 'Text Date' ) ; console . log ( 'Month from index (0 based): ' , textdate . monthFromIndex ( 7 ) ) ; console . log ( 'Full month from index (0 based): ' , textdate . monthFromIndex ( 7 , true ) ) ; console . log ( 'Day from index (0 based): ' , textdate . dayFromIndex ( 3 ) ) ; console . log ( 'Full Day from index


【文件预览】:
node-text-date-master
----package.json(552B)
----test.js(420B)
----README.md(484B)
----date.js(2KB)

网友评论