|
-
Aug 19th, 2022, 08:42 PM
#12
Re: [RESOLVED] Command line, Me.Close() skipped
 Originally Posted by wes4dbt
Code:
If Not IsDate(txtSubmit.Text) Or CDate(txtSubmit.Text) <> Today
Do you realize that "Today" returns a date and time?
It does, but the time part is zero. Today is equivalent to Now.Date. In fact, it's probably implemented that way because DateTime.Today is implemented as DateTime.Now.Date.
Tags for this Thread
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
|