Date format in dd/mm/yyyy

How to write a logic which is greater than or equals to date format dd/mm/yyyy someone please explain

Thanks in advance

you want to compare with current date or another date ?

DateTime.ParseExact(date1, “dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture) > DateTime.ParseExact(date2, “dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.