Get the number of seconds/milliseconds in a day.
Install
npm i --save day-seconds
npm test
API
For more use-cases see the tests
daySeconds
Get the number of seconds/milliseconds in a day.
[bool]
{Boolean} whentrue
, returns seconds, otherwise millisecondsreturn
{Number}
Example:
var daySeconds = ; ;//=> 86400000 ;//=> 86400000 ;//=> 86400000 ;//=> 86400000 ;//=> 86400000 ;//=> 86400000 ;//=> 86400
Author
Charlike Mike Reagent
License
Copyright (c) 2014-2015 Charlike Mike Reagent, contributors.
Released under the MIT
license.
Powered and automated by kdf, March 02, 2015