export function toTime(arg: TimeLike): number
More permissive than toInt, as it allows -Infinity and +Infinity
and rounds non-whole numbers
Arguments
1. arg
arg: TimeLike
Returns
- use number instead of Date for time, because Date doesn't make any sense for the emulator