DateTime? dateTime; dateTime.Value.ToString("yy-MM-dd") 转载于:https://www.cnblogs.com/waliy/p/3937174.html