Yes, you are right. it is not. So, how can we work with time in a pure way? Is it similar to the way we used Randomness? or does it behave differently?
If you want to get more into the theory, I'd recommend actually learning a functional language. In particular, Elm is a very beginner-friendly language. For getting started, I'd recommend following the free book Beginning Elm.