troubleshooting Question Date Logic

Avatar of Jimbo99999
Jimbo99999Flag for United States of America asked on
Visual Basic.NET
5 Comments1 Solution1007 ViewsLast Modified:
Good Day


I am using and am having trouble figuring out a logical way to verify a date is valid.
I will have a Start Date or an End Date or a Start and End Date.  With just the StartDate, If the CurrentDate is after it I need to throw up a valid flag else not valid.  Then check if it in between the StartDate and EndDate if both dates are present. Finally check if CurrentDate is greater than
EndDate then throw up a valid flag else not valid.

How would you all solve this?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros