How to Convert date into MM/DD/YY format in C#

 DateTime.Today.ToString("MM/dd/yy")

Look at the docs for custom date and time format strings for more info.

(Oh, and I hope this app isn’t destined for other cultures. That format could really confuse a lot of people… I’ve never understood the whole month/day/year thing, to be honest. It just seems weird to go “middle/low/high” in terms of scale like that.)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)