You can get the desired result with the code below. Two ‘H’ in HH
is for 24-hour format.
return fechaHora.Value.ToString("HH:mm");
You can get the desired result with the code below. Two ‘H’ in HH
is for 24-hour format.
return fechaHora.Value.ToString("HH:mm");