Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

time-stamp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

time-stamp

Get a formatted timestamp.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
736K
decreased by-62.4%
Maintainers
1
Weekly downloads
 
Created

What is time-stamp?

The time-stamp npm package is designed to create formatted timestamps. It allows users to generate timestamps based on the current date and time in a customizable format. This can be particularly useful for logging, file naming, or any other scenario where time-based identifiers are needed.

What are time-stamp's main functionalities?

Generating current date in default format

By default, time-stamp can generate the current date in the 'YYYY/MM/DD' format. This is useful for quickly obtaining a standardized date format without any configuration.

"YYYY/MM/DD"

Custom formatting of date and time

time-stamp allows for custom formatting of the date and time, enabling users to specify the exact format they need. This feature supports a wide range of tokens for years, months, days, hours, minutes, seconds, and milliseconds.

"YYYY:MM:DD HH:mm:ss.ms"

Other packages similar to time-stamp

FAQs

Package last updated on 01 May 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc