Static

Description

(>= 1.3.0) Converts seconds into a format {hour: "", min: "", sec: ""}

Usage

Parameters

  • total_sec {Integer}

    Secondes

Returns

Array

Example

CE.toTimer(136); // => {hour: "00", min: "02", sec: "16"}

Discussion