|
-
Nov 9th, 1999, 03:25 AM
#1
Thread Starter
Member
How do I use the Format func. and the Isdate func. to validate the time for a textbox.
Rightnow it works for date or time formats , but I want it for only Time format(hh:mm:ss).
Any ideas , anybody.
Thanks
-
Nov 9th, 1999, 04:37 AM
#2
Guru
Try this to make sure the TextBox has nothing but the Time:
Text1.Text = Format(CDate(Text1.Text), "Long Time")
You can also try "Medium Time" and "Short Time" - see how all three work, and decide which is best for you.
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
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
|