aboutsummaryrefslogtreecommitdiff
path: root/node_modules/date-time/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-time/readme.md')
-rw-r--r--node_modules/date-time/readme.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/node_modules/date-time/readme.md b/node_modules/date-time/readme.md
new file mode 100644
index 000000000..9c5b87b11
--- /dev/null
+++ b/node_modules/date-time/readme.md
@@ -0,0 +1,39 @@
+# date-time [![Build Status](https://travis-ci.org/sindresorhus/date-time.png?branch=master)](http://travis-ci.org/sindresorhus/date-time)
+
+> Pretty UTC datetime: `2014-01-09 06:46:01 UTC`
+
+
+## Install
+
+Install with [npm](https://npmjs.org/package/date-time)
+
+```
+npm install --save date-time
+```
+
+
+## Example
+
+```js
+var dateTime = require('date-time');
+
+dateTime();
+//=> 2014-01-09 06:46:01 UTC
+
+dateTime(new Date(2050, 1, 2));
+//=> 2050-02-01 23:00:00 UTC
+```
+
+## API
+
+### dateTime(date)
+
+#### date
+
+Type: `Date`
+Default: `new Date()`
+
+
+## License
+
+MIT © [Sindre Sorhus](http://sindresorhus.com)