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”);