Hi there!
I want to use HH24:MM format for the time. Please help me.
Suppose if Time now is 10:30PM, then I want to display as 22:30.
Printable View
Hi there!
I want to use HH24:MM format for the time. Please help me.
Suppose if Time now is 10:30PM, then I want to display as 22:30.
Format(MyDateTime, "HH:mm:ss")
Like so?
Or MyDateTime.ToString("hh:mm:ss")
Use the Culture="es-ES" in Page level
and write the following Code
Dim myDts as DateTime
response.write(myDts.now.toString("HH:mm"))
Hi!
Thank you all for the help.
Actually this worked for me.
Format(MyDateTime, "HH:mm")