Finally autodetect gmtime offset.