I am working on an application which have 2 language versions. In this app I am creating a DateTime object for 1st day of the month. e.g. DateTime startOfMonth = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
The output comes out as;
11/1/2013 12:00:00 AM
in english version
However in french version it comes out as The culture becomes 'fr-CA' in this case
11/1/2013 00:00:00
Can anyone help me in getting value similar to english version ? With string.Format this can be achieved but I need DateTime object not string.
Thanks in advance.