Currently i have extracted
- Todays date
- Picked the date from the date picker
Format what i am getting is different hence i am unable to compare and find which date is greater. For instance todays date format is (MM/dd/yyyy) and date what i picked from date picker is in (2021-01-14). All happening inside the html file. CurrentDate =Datetime.ParseExact(Var, “dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MMM/yyyy”) you will get Today date.
Will this line of code work inside html page ?
Suggest how to proceed. Based on these 2 format IF condition not working correctly.