parseTime

Source
import { parseTime } from "@prestojs/util";
parseTime(value)
Params:
ParameterTypeDescription
*valuestring|Date
Returns:
An object with these properties:
PropertyTypeDescription
*hournumber
*millisecondnumber
*minutenumber
*secondnumber
timezoneOffsetnumber