I have a DateTime class and wish to display it according to some format... in this case, I specifically want to format it as YYYYMMDD format.
What\'s the best C#/.NE
myDateTime.ToString("yyyyMMdd")
Here you can find a comprehesive list of DateTime patterns and pattern characters: DateTime.ToString() Patterns