measuring time with longitude