It's milliseconds (well except for 0, which stockfish considers an edge case)
See: http://wbec-ridderkerk.nl/html/UCIProtocol.html , https://github.com/official-stockfish/Stockfish/issues/3720
That said I don't think a strong chess engine alone would be enough to pass this puzzle.