Efficiently compute time from local and GMT time