I want to convert a C# DateTime to "YYYYMMDDHHMMSS" format. But I don't find a built in method to get this format? Any comments?
DateTime.Now.ToString("yyyyMMddHHmmss"); // case sensitive
2.1m questions
2.1m answers
60 comments
57.0k users