Loading Military Time into a text field

My desire is to load the military time into a field to store for later time calculations.
I can get the military time using the code below but it contains the date also:
LabelClockDate.Text = str(d)

I can get the time using the code below but it is not military time:
LabelClockTime.Text = str(d.longtime)

Any suggestions would be greatly appreciated.
Thanks
Julian

LabelClockTime.Text = Str(d.hour) + “:” + Str(d.minute)

Ah, Gavin beat me to the punch… or if you want the zero prefixed to single digit values…

LabelClockTime.Text = Format(d.Hour, “00”) + “h” + Format(d.Minute, “00”)

Thanks. That worked great!

[quote=75512:@Alwyn Bester]Ah, Gavin beat me to the punch… or if you want the zero prefixed to single digit values…

LabelClockTime.Text = Format(d.Hour, “00”) + “h” + Format(d.Minute, “00”)[/quote]

Ah yes, you’ll need those leading zeros.