Can anyone let me know how can I get todays date in format of dd/MM/yyyy and store in datetime variable for future use.
So far, I have tried to get date and store in string variable and convert using - Datetime.ParseExact(variable,“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture). It is not working for me.