|
-
Oct 17th, 2002, 09:10 AM
#1
Thread Starter
Hyperactive Member
Format time!
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.
-
Oct 17th, 2002, 11:41 AM
#2
Junior Member
Format(MyDateTime, "HH:mm:ss")
Like so?
-
Oct 17th, 2002, 06:52 PM
#3
Hyperactive Member
Or MyDateTime.ToString("hh:mm:ss")
-
Oct 18th, 2002, 02:25 AM
#4
Hyperactive Member
Use the Culture="es-ES" in Page level
and write the following Code
Dim myDts as DateTime
response.write(myDts.now.toString("HH:mm"))
-
Oct 18th, 2002, 05:53 AM
#5
Thread Starter
Hyperactive Member
Hi!
Thank you all for the help.
Actually this worked for me.
Format(MyDateTime, "HH:mm")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|