What do you need the timer for? For a cooldown you can save the time somewhere and compare it, for a timer that ticks you will need a task.
Store the result of microtime(true) and compare it to the current one whenever the thing that has a cooldown is called.