Use temporary int objects to access struct tm members