Skip to content

heifade/date-i

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

源代码

源代码

安装

npm install date-i

例子

例子 1

const { dateFormat } = require("date-i");
console.log(dateFormat(new Date(), "YYYY-MM-DD HH:mm:ss"));

例子 2

const { dateFormat } = require("date-i");
console.log(dateFormat(new Date(), "YYYY-MM-DD"));

例子 3

const { dateFormat } = require("date-i");
console.log(dateFormat(new Date(), "HH:mm:ss"));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published