efficiently compute time from local and GMT time. PR: 53960 Submitted by: Mathieu Arnold <m@absolight.net>