{"_id":"time-stamp","_rev":"53309","name":"time-stamp","description":"Get a formatted timestamp.","dist-tags":{"latest":"2.2.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:16:15.000Z","created":"2015-05-01T09:01:05.358Z","2.2.0":"2018-10-26T04:49:32.863Z","2.1.0":"2018-08-22T15:25:56.305Z","2.0.1":"2018-07-31T15:59:05.105Z","2.0.0":"2017-05-15T01:30:26.540Z","1.1.0":"2017-05-15T00:53:31.594Z","1.0.1":"2016-04-07T07:28:49.885Z","1.0.0":"2016-02-09T05:09:00.854Z","0.1.3":"2015-12-04T19:11:39.884Z","0.1.2":"2015-11-22T10:02:06.702Z","0.1.1":"2015-10-11T03:11:29.325Z","0.1.0":"2015-05-01T09:01:05.358Z"},"users":{"jaeger":true,"noyobo":true,"moling":true,"chinawolf_wyp":true,"xiaoxiang":true,"wujr5":true,"rocket0191":true,"usex":true,"raycharles":true,"gzg1500521074":true,"klauscfhq":true,"humingchun":true,"bwa":true,"71emj1":true,"amongiants":true,"d3ck":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"versions":{"2.2.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"2.2.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Daniel Stockman","url":"http://evocateur.org"},{"name":"Drew","url":"https://github.com/mendenhallmagic"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"leesei","url":"https://leesei.github.io"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","main":"index.js","types":"index.d.ts","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.2.0","pad-left":"^2.1.0"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":true,"layout":"default","tasks":["readme"],"helpers":["./helpers.js"],"plugins":["gulp-format-md"],"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"lint":{"reflinks":true}},"gitHead":"86812c2b8e82387133bef6ddddd775b2ec2b07f2","_id":"time-stamp@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"917e0a66905688790ec7bbbde04046259af83f57","size":3880,"noattachment":false,"key":"/time-stamp/-/time-stamp-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-2.2.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/time-stamp_2.2.0_1540529372764_0.0313016221686091"},"_hasShrinkwrap":false,"publish_time":1540529372863,"_cnpm_publish_time":1540529372863},"2.1.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"2.1.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Daniel Stockman","url":"http://evocateur.org"},{"name":"Drew","url":"https://github.com/mendenhallmagic"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"leesei","url":"https://leesei.github.io"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js","index.d.ts"],"main":"index.js","types":"index.d.ts","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.1","pad-left":"^2.1.0","verb-generate-readme":"^0.8.0"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"2a0cce597e138890b09fdfabd7d12e7ab19602e2","_id":"time-stamp@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"6c5c0b2bc835a244616abcfddf81ce13a1975c9f","size":3883,"noattachment":false,"key":"/time-stamp/-/time-stamp-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-2.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/time-stamp_2.1.0_1534951556254_0.689530556510314"},"_hasShrinkwrap":false,"publish_time":1534951556305,"_cnpm_publish_time":1534951556305},"2.0.1":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Daniel Stockman","url":"http://evocateur.org"},{"name":"Drew","url":"https://github.com/mendenhallmagic"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"leesei","url":"https://leesei.github.io"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js","index.d.ts"],"main":"index.js","types":"index.d.ts","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.1","pad-left":"^2.1.0"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"helpers":{"timestamp":"./index.js"},"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"1219d2f09a1db0eae9f59229f3eb1ce63524caa9","_id":"time-stamp@2.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"708a89359c1fc50bd5e7b1c8aa750d08c9172232","size":3492,"noattachment":false,"key":"/time-stamp/-/time-stamp-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-2.0.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/time-stamp_2.0.1_1533052744972_0.8480115173064544"},"_hasShrinkwrap":false,"publish_time":1533052745105,"_cnpm_publish_time":1533052745105},"2.0.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Daniel Stockman","url":"http://evocateur.org"},{"name":"Drew","url":"https://github.com/mendenhallmagic"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.1","pad-left":"^2.1.0"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"helpers":{"timestamp":"./index.js"},"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"14aae48160f815c874defbf1673564149201507d","_id":"time-stamp@2.0.0","_shasum":"95c6a44530e15ba8d6f4a3ecb8c3a3fac46da357","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"95c6a44530e15ba8d6f4a3ecb8c3a3fac46da357","size":3397,"noattachment":false,"key":"/time-stamp/-/time-stamp-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/time-stamp-2.0.0.tgz_1494811824537_0.8978691305965185"},"directories":{},"publish_time":1494811826540,"_cnpm_publish_time":1494811826540,"_hasShrinkwrap":false},"1.1.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Daniel Stockman","url":"http://evocateur.org"},{"name":"Drew","url":"https://github.com/mendenhallmagic"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.1","pad-left":"^2.1.0"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"helpers":{"timestamp":"./index.js"},"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"30533a5f71944f368b3b1ccaedd895a26b6c5bff","_id":"time-stamp@1.1.0","_shasum":"764a5a11af50561921b133f3b44e618687e0f5c3","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"764a5a11af50561921b133f3b44e618687e0f5c3","size":3328,"noattachment":false,"key":"/time-stamp/-/time-stamp-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/time-stamp-1.1.0.tgz_1494809609879_0.2116724606603384"},"directories":{},"publish_time":1494809611594,"_hasShrinkwrap":false,"_cnpm_publish_time":1494809611594},"1.0.1":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5","pad-left":"^2.0.3"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"66fc623cf26a5f85fe22a6a7acc91568cddf301c","_id":"time-stamp@1.0.1","_shasum":"9f4bd23559c9365966f3302dbba2b07c6b99b151","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9f4bd23559c9365966f3302dbba2b07c6b99b151","size":2949,"noattachment":false,"key":"/time-stamp/-/time-stamp-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/time-stamp-1.0.1.tgz_1460014127254_0.9380003691185266"},"directories":{},"publish_time":1460014129885,"_cnpm_publish_time":1460014129885,"_hasShrinkwrap":false},"1.0.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","pad-left":"^2.0.1"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]},"layout":"default"},"gitHead":"b7d15686750c021deac6265745e1bbd8c222a3a1","_id":"time-stamp@1.0.0","_shasum":"56b152e07ec2442c23d9ea690944076f38c535a1","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"56b152e07ec2442c23d9ea690944076f38c535a1","size":2685,"noattachment":false,"key":"/time-stamp/-/time-stamp-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/time-stamp-1.0.0.tgz_1454994538069_0.7128474737983197"},"directories":{},"publish_time":1454994540854,"_cnpm_publish_time":1454994540854,"_hasShrinkwrap":false},"0.1.3":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]}},"gitHead":"bcb6a9368182b0725e367b64332292f226036742","_id":"time-stamp@0.1.3","_shasum":"095848c27e79db4c01daba9477d675bc6f3290f9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"095848c27e79db4c01daba9477d675bc6f3290f9","size":2657,"noattachment":false,"key":"/time-stamp/-/time-stamp-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-0.1.3.tgz"},"directories":{},"publish_time":1449256299884,"_cnpm_publish_time":1449256299884,"_hasShrinkwrap":false},"0.1.2":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]}},"gitHead":"0aecdd1a490160a99a0acee7faee7d5c7d58bfcc","_id":"time-stamp@0.1.2","_shasum":"d50836c26e89a21faf9eb3d87543f63da88253b7","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d50836c26e89a21faf9eb3d87543f63da88253b7","size":2573,"noattachment":false,"key":"/time-stamp/-/time-stamp-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-0.1.2.tgz"},"directories":{},"publish_time":1448186526702,"_cnpm_publish_time":1448186526702,"_hasShrinkwrap":false},"0.1.1":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["console","date","format","formatting","log","pretty","stamp","terminal","time","time-stamp"],"verb":{"related":{"list":["days","iso-week","month","months","o-clock","seconds","week","weekday","year"]}},"gitHead":"83a4cf40a3dcd02985f415e1e22fa43e0222f32f","_id":"time-stamp@0.1.1","_shasum":"fd7605d23636684fd83763876a38ce91f95639bb","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fd7605d23636684fd83763876a38ce91f95639bb","size":2566,"noattachment":false,"key":"/time-stamp/-/time-stamp-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-0.1.1.tgz"},"directories":{},"publish_time":1444533089325,"_cnpm_publish_time":1444533089325,"_hasShrinkwrap":false},"0.1.0":{"name":"time-stamp","description":"Get a formatted timestamp.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/time-stamp","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/time-stamp.git"},"bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/time-stamp/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"pad-left":"^1.0.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"b8ae3faca77317759ed3ac5c684aec2c9b476414","_id":"time-stamp@0.1.0","_shasum":"8dbdd183b9b5a44d3333cc057fd8b1adbc656226","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8dbdd183b9b5a44d3333cc057fd8b1adbc656226","size":2478,"noattachment":false,"key":"/time-stamp/-/time-stamp-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/time-stamp/download/time-stamp-0.1.0.tgz"},"directories":{},"publish_time":1430470865358,"_cnpm_publish_time":1430470865358,"_hasShrinkwrap":false}},"readme":"# time-stamp [![NPM version](https://img.shields.io/npm/v/time-stamp.svg?style=flat)](https://www.npmjs.com/package/time-stamp) [![NPM monthly downloads](https://img.shields.io/npm/dm/time-stamp.svg?style=flat)](https://npmjs.org/package/time-stamp) [![NPM total downloads](https://img.shields.io/npm/dt/time-stamp.svg?style=flat)](https://npmjs.org/package/time-stamp) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/time-stamp.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/time-stamp)\n\n> Get a formatted timestamp.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n- [Install](#install)\n- [Usage](#usage)\n- [Customizing the timestamp](#customizing-the-timestamp)\n- [Release history](#release-history)\n  * [v2.0.0](#v200)\n- [About](#about)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save time-stamp\n```\n\n## Usage\n\n```js\nconst timestamp = require('time-stamp');\n\nconsole.log(timestamp());\n//=> 2018-10-26\n\nconsole.log(timestamp.utc());\n//=> 2018-10-26\n```\n\n## Customizing the timestamp\n\nYou may also pass a string to format the generated timestamp.\n\n```js\nconsole.log(timestamp('YYYYMMDD'));\n//=> 20181026\n\nconsole.log(timestamp.utc('YYYYMMDD'));\n//=> 20181026\n```\n\n**Supported patterns**\n\n* `YYYY`: full year (ex: **2018**)\n* `MM`: month (ex: **04**)\n* `DD`: day (ex: **01**)\n* `HH`: hours (ex: **12**)\n* `mm`: minutes (ex: **59**)\n* `ss`: seconds (ex: **09**)\n* `ms`: milliseconds (ex: **532**)\n\n**Usage Examples**\n\n```js\nconsole.log(timestamp('YYYYMMDD'));\n//=> 20181026\nconsole.log(timestamp.utc('YYYYMMDD'));\n//=> 20181026\n\nconsole.log(timestamp('YYYYMMDD:ss'));\n//=> 20181026:24\nconsole.log(timestamp.utc('YYYYMMDD:ss'));\n//=> 20181026:24\n\nconsole.log(timestamp('YYYY/MM/DD:mm:ss'));\n//=> 2018/10/26:46:24\nconsole.log(timestamp.utc('YYYY/MM/DD:mm:ss'));\n//=> 2018/10/26:46:24\n\nconsole.log(timestamp('YYYY:MM:DD'));\n//=> 2018:10:26\nconsole.log(timestamp.utc('YYYY:MM:DD'));\n//=> 2018:10:26\n\nconsole.log(timestamp('[YYYY:MM:DD]'));\n//=> [2018:10:26]\nconsole.log(timestamp.utc('[YYYY:MM:DD]'));\n//=> [2018:10:26]\n\nconsole.log(timestamp('YYYY/MM/DD'));\n//=> 2018/10/26\nconsole.log(timestamp.utc('YYYY/MM/DD'));\n//=> 2018/10/26\n\nconsole.log(timestamp('YYYY:MM'));\n//=> 2018:10\nconsole.log(timestamp.utc('YYYY:MM'));\n//=> 2018:10\n\nconsole.log(timestamp('YYYY'));\n//=> 2018\nconsole.log(timestamp.utc('YYYY'));\n//=> 2018\n\nconsole.log(timestamp('MM'));\n//=> 10\nconsole.log(timestamp.utc('MM'));\n//=> 10\n\nconsole.log(timestamp('DD'));\n//=> 26\nconsole.log(timestamp.utc('DD'));\n//=> 26\n\nconsole.log(timestamp('HH'));\n//=> 00\nconsole.log(timestamp.utc('HH'));\n//=> 04\n\nconsole.log(timestamp('mm'));\n//=> 46\nconsole.log(timestamp.utc('mm'));\n//=> 46\n\nconsole.log(timestamp('ss'));\n//=> 24\nconsole.log(timestamp.utc('ss'));\n//=> 24\n\nconsole.log(timestamp('ms'));\n//=> 186\nconsole.log(timestamp.utc('ms'));\n//=> 186\n```\n\n## Release history\n\n### v2.0.0\n\n**Breaking changes**\n\nDefault pattern was changed from `YYYY:MM:DD` to `YYYY-MM-DD`. See [issues/3](../../issues) for more details.\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [days](https://www.npmjs.com/package/days): Days of the week. | [homepage](https://github.com/jonschlinkert/days \"Days of the week.\")\n* [iso-week](https://www.npmjs.com/package/iso-week): Get the ISO week of the year. | [homepage](https://github.com/jonschlinkert/iso-week \"Get the ISO week of the year.\")\n* [month](https://www.npmjs.com/package/month): Get the name or number of the current month or any month of the year. | [homepage](https://github.com/datetime/month \"Get the name or number of the current month or any month of the year.\")\n* [months](https://www.npmjs.com/package/months): Months of the year. | [homepage](https://github.com/datetime/months \"Months of the year.\")\n* [o-clock](https://www.npmjs.com/package/o-clock): Simple javascript utility for displaying the time in 12-hour clock format. | [homepage](https://github.com/jonschlinkert/o-clock \"Simple javascript utility for displaying the time in 12-hour clock format.\")\n* [seconds](https://www.npmjs.com/package/seconds): Get the number of seconds for a minute, hour, day and week. | [homepage](https://github.com/jonschlinkert/seconds \"Get the number of seconds for a minute, hour, day and week.\")\n* [week](https://www.npmjs.com/package/week): Get the current week number. | [homepage](https://github.com/datetime/week \"Get the current week number.\")\n* [weekday](https://www.npmjs.com/package/weekday): Get the name and number of the current weekday. Or get the name of the… [more](https://github.com/datetime/weekday) | [homepage](https://github.com/datetime/weekday \"Get the name and number of the current weekday. Or get the name of the weekday for a given number.\")\n* [year](https://www.npmjs.com/package/year): Simple utility to get the current year with 2 or 4 digits. | [homepage](https://github.com/jonschlinkert/year \"Simple utility to get the current year with 2 or 4 digits.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 31 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 7  | [doowb](https://github.com/doowb) |  \n| 1  | [evocateur](https://github.com/evocateur) |  \n| 1  | [mendenhallmagic](https://github.com/mendenhallmagic) |  \n| 1  | [mvanroon](https://github.com/mvanroon) |  \n| 1  | [leesei](https://github.com/leesei) |  \n| 1  | [sleagon](https://github.com/sleagon) |  \n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on October 26, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/time-stamp","bugs":{"url":"https://github.com/jonschlinkert/time-stamp/issues"},"license":"MIT"}