Socket
Socket
Sign inDemoInstall

zhoudashuaibi-date

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    zhoudashuaibi-date

按照格式输出日期


Version published
Maintainers
1
Install size
1.86 kB
Created

Readme

Source

下载

npm i zhoudashuaibi-date -D

使用

const date = require('zhoudashuaibi-date')

/**
 * 按照格式输出日期,如:'yyyy-MM-dd HH:mm:ss 星期E'
 * @param {*} date 日期对象
 * @param {*} fmt 格式
 */
date.dateFormat(date,fmt) 

Keywords

FAQs

Last updated on 01 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc