Ricavare un INT relativo alle ore di un DS3231

Grazie a tutti, ho risolto con: < int horas = tm.Hour; >
Ciao