One of the most useful overloads of the ToString() method is the ability to provide a format for the object you’re converting to string.
This is of particular interest when dealing with DateTime objects. If, for example, you had a DateTime object as such:
DateTime dNow = DateTime.Now;
and you wanted to display it in the following format:
31 December 1999
you could easily do so, like this:
string sNow = dNow.ToString(“dd MM yyyy”);


![Basics: Method chaining, Async/Await, Anonymous Functions, Fat Arrow [TypeScript]](https://intelogist.eu/wp-content/uploads/2012/02/back_to_basics-160x160.png)
