Time.millisecToSec()

Convert milliseconds to seconds

Parameters

NameTypeDescription
1millisecondnumber

Return value

number

the time in second

Usage

import {Time} from '@lcluber/type6js';

let millisecToSec = Time.millisecToSec(2000);