0
Hello, I have two fields, one with today’s date and one with a date in nine days. I need to make a comparison between the 2 fields to know if the field with the second date is in 10 days or less, and display a message in Messagebox. I tried to do but could not, any help is welcome. Thank you.
My code:
txtDatahoje.Text = "02/02/2018";
txtData2.Text = "11/02/2018";
And what is your specific difficulty?
– Maniero
on the part of making the comparison in if
– Lucas Lima
Let’s try again, what your difficulty specific?
– Maniero
I don’t know how to compare the 2 fields to know if the date 2 is in 10 days or less.
– Lucas Lima