A faster way of getting the time.