Learning how to use time functions