|
-
Jan 27th, 2008, 11:20 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2008] Date Time Checking Stuff...
What would be the easiest way, using VB.NET to extract the date and time out of a textbox and check if that time is now. The catch is, that the textbox doesn't necessarily have to have the date included. If the date is now included, then it's assumed to be today's date.
So like, the input can be "28/01/08 2:17:40 PM", "28/01/08 2:17 PM", "28/01/08 14:17:40", "28/01/08 14:17", "2:17:40 PM", "2:17 PM", "14:17:40" or "14:17".
The only way i can think to do this would be to pull the string apart piece by piece... Is there an easier way?
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
|