Use Time::Local to calculate GMT offset