TimeUnits Summary The TimeUnits module provides human-readable formats for converting values into milliseconds. Description The TimeUnits module provides human-readable formats for converting values into milliseconds. Examples Basic Usage 1234import System.Time; double timeout = TimeUnits.minutes(10);Console.log(timeout); Members daysConverts the specified day value into milliseconds. hoursConverts the specified hour value into milliseconds. millisecondsReturns the specified milliseconds value. This method returns the argument provided. Therefore, its main utility is for code readability. minutesConverts the specified minutes value into milliseconds. secondsConverts the specified seconds value into milliseconds. Share HTML | BBCode | Direct Link