How to convert mm/dd/yy to dd/mm/yy
-
Hi, can Any one tell me how to convert mm/dd/yy to dd/mm/yy format..... Arif patel
-
Hi, can Any one tell me how to convert mm/dd/yy to dd/mm/yy format..... Arif patel
Arif patel wrote:
can Any one tell me how to convert mm/dd/yy to dd/mm/yy format.....
Sure, use
.ToString("dd/mm/yy");
.Deja View - the feeling that you've seen this post before.
-
Arif patel wrote:
can Any one tell me how to convert mm/dd/yy to dd/mm/yy format.....
Sure, use
.ToString("dd/mm/yy");
.Deja View - the feeling that you've seen this post before.
Hi pete, I have wrote like this Label2.Text=DateTime.Now.ToString("dd/mm/yy"); But i am getting like this 02/27/07 which is wrong...plz reply me.. Arif patel
-
Hi pete, I have wrote like this Label2.Text=DateTime.Now.ToString("dd/mm/yy"); But i am getting like this 02/27/07 which is wrong...plz reply me.. Arif patel
Sorry - The mm should be MM. So this would be
Label2.Text=DateTime.Now.ToString("dd/**MM**/yy");
Deja View - the feeling that you've seen this post before.
-
Sorry - The mm should be MM. So this would be
Label2.Text=DateTime.Now.ToString("dd/**MM**/yy");
Deja View - the feeling that you've seen this post before.
Hi Dude its working. Thank you..... Arif patel
-
Hi, can Any one tell me how to convert mm/dd/yy to dd/mm/yy format..... Arif patel
No, always use ISO 8601 compliant formats like "yyyy-MM-dd".