Needing expert advice for date format issue . I have a string value strDate= "03/04/2018"
which is dd/mm/yyyy
. I am trying to convert into format dd mmm yyyy . If I use (Convert.ToDateTime(strDate)).ToString("dd MMM yyyy")
, this results in 4 Mar 2018
instead of 3 Apr 2018
.
Can anyone please suggest if this is dependent on the system and regional setting ? Is it possible to make it work independent of regional settings ?