Hello all, is there any way in which I can compare today’s date(int the form of MM/dd/YYYY) and date_2 (in the form of MM/dd/YYYY). I have to make sure that date_2 is always greater than today’s date, if not then send a message.
take 2 date time variables one is today date and second is date2
today date =datetime.now
pass date 2 in this syntax
output_date=DateTime.ParseExact(input_date,formatconversion,System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat)
now use if condition to compare dates like today date<date 2 send email