I have a string. “29/05/2019”
Converted it to date using Datetime.parseexact(“29/05/2019”,“dd/MM/yyyy”,system.globalization.cultureinfo.invariantculture)
However, it differs on different computer system. if on a system with the datetime format of MM/dd/yyyy, the date becomes 05/29/2019 instead. How do i ensure that the conversion from string to date should always end up in dd/MM/yyyy regardless of the system date format?