Time as a resource