parseTime

Source
import { parseTime } from "@prestojs/util";
parseTime(value)

Arguments:

ArgumentTypeDescription
*valuestring|Date
Returns:
An object with these properties:
PropertyTypeDescription
*hournumber
*millisecondnumber
*minutenumber
*secondnumber
timezoneOffsetnumber