Time on graphs