-1

I use in my view the following code

reservation.HeureRepas.ToString(@"hh\:mm")

and so I get for example: 14:45

But I would like to get a "H" in place of the column as 14H45

Alain BUFERNE
  • 2,016
  • 3
  • 26
  • 37

1 Answers1

1

You can use

 reservation.HeureRepas.ToString(@"hh\Hmm")
Sergey Malyutin
  • 1,484
  • 2
  • 20
  • 44