c#指定日期格式

 string TripCode = "BT"+DateTime.Now.ToString("yyyyMMddHHmmss");//出差单号

原文地址:https://www.cnblogs.com/markli/p/3401235.html