I have two dates. One date is input and other is DateTime.Now
. I have them in mm/dd/yyyy
format, it can even be m/d/yy format also. Both dates are nullable i.e, datatype is DateTime?
, since I can pass null also as input. Now I want to compare the two dates only with mm/dd/yyyy
or m/d/yy
format.