Convert Date from 6/05/2020 format to dd/MM/YYYY format

后端 未结 5 1178
面向向阳花
面向向阳花 2020-12-03 18:24

I am facing a small issue which i am not able after trying so many things so here it goes ..... There is a text box in my page in which i am entering date and i want that da

5条回答
  •  囚心锁ツ
    2020-12-03 19:05

    If you want to access it given a particular format, you should use DateTime.ToString(string format).

    http://msdn.microsoft.com/en-us/library/zdtaw1bw.aspx

提交回复
热议问题