Consolidate basetime calculation into one place