So I am trying to make an IF statement that if the date logic stays as default (1/1/1900) then I want my program to do one thing, else do something else.
When I try to debug, it looks like it just blows through this logic. I have tried without the timestamp, longtime, shorttime..etc. I am at a lost on how to tell my program to understand the default date.
Code:
If StaffEnd_DT.Value.Equals("1/1/2000 12:00:00 AM") Or StaffEnd_DT.Value.Equals("1/1/1900 12:00:00 AM") Then
When I try to debug, it looks like it just blows through this logic. I have tried without the timestamp, longtime, shorttime..etc. I am at a lost on how to tell my program to understand the default date.