1.0.6 • Published 4 years ago

mstotime.js v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 years ago

Installation

Node.js 12.0.0 or newer is required.
npm install mstotime.js

Example usage

const msToTime = require("mstotime.js")

var time = msToTime.seconds(10000 , false); 
// hours | minutes | seconds // true : float & false : integer

console.log(time);

output : 10

New Function

Full time

const mstotime = require("msToTime.js");

var resultFloat = mstotime.full(1000 , true);
var resultInteger = mstotime.full(1000 , false);

console.log("Float : " + resultFloat + " | Int : " + resultInteger);

output :

Float : 00.0002777777777777778:00.016666666666666666:01 | Int : 0:0:1

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago