Convert Time to int at ZbxAPIUtils::get_history, not by caller.