LViS Time Formats

The various time formats used in LViS

<String> LViS.TIME_FORMAT_SECONDS
<String> LViS.TIME_FORMAT_ARRAY
<String> LViS.TIME_FORMAT_OBJECT

Set of constants used for time format representation.

Example

var event = LViS.getEvent();
event.getCountDown(LViS.TIME_FORMAT_SECONDS)
// returns integer 2611298
event.getCountDown(LViS.TIME_FORMAT_ARRAY)
// returns array [21, 20, 5, 30, 0, 0]
event.getCountDown(LViS.TIME_FORMAT_OBJECT)
// returns object
// {
// years: 0,
// months: 0,
// days: 30,
// hours: 5,
// minutes: 19,
// seconds: 8
// }