Fixed UID calculation with TZs