Hi Guys
I want to store syste.date.now within a datetime variable to compare dates but having problem specifying the layout for uk format.
So basically I have tired DateTime systemDate = Datetime.ParseExact(System.DateTime.now,“M/dd/yyyy”,system.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”).
But it is saying type mismatch as string cannot be used in datetime.
Any ideas how to resolve this issuse.