I have one confusion regarding date formats..
I want to display datetime in MM/dd/yyyy.
everything I do and it works finely on my machine. but when I change my machine datetime format to dd/MM/yyyy everything works something horribly.
sometime the culterInfo en-us returns dd/mm/yyyy and sometime it returns mm/dd/yyyy
what to do?
I want to describe it more.
I am passing dates in textbox in mm/dd/yyyy format and when I have to change it again then if user don't want to change and it clicks ok. then
I convert that textbox text into date by applying en-us culterinfo at that time it will convert date (sometime) mm/dd or sometime dd/mm
I don't know what to do?