I have a number which represent time and I need to convert this number into string.
Like n = 800 , it represent time = 8:00
Currently I am doing this:
n = 800;
string time = '' + n/100 + ' : ' + n % 100 ;
but time become 8 : 0 but I want to minutes in two digit format like 8 : 00
Anybody please help me there?