I have tried to get the days, hours and minutes of a date from this:
DateTime fecha_actual= "26-07-2017 18:45";
DateTime fecha_ingreso= "25-07-2017 16:45";
TimeSpan ts = fecha_actual - fecha_ingreso
int differenceInDias = ts.Days;
int differenceInHours = ts.Hours;
int differenceInMinuntos = ts.Minutes;
The idea that you get the hours that have elapsed (26 hours) from 4 pm on the 25th, to the time of the current date, the same in minutes and hours.