Duplicar posible:
How can I format a nullable DateTime with ToString()?DateTime .ToString (formato)
consiguió tema de análisis DateTime? al formato específico. Al igual que :
DateTime t1 = ...;
string st1 = t1.ToString(format); //<-- works
DateTime? t1 = ...;
string st1 = t1.ToString(format); //Dont work.
Theres ningún método de sobrecarga para DateTime?
http: // stack overflow.com/questions/1833054/how-can-i-format-a-nullable-datetime-with-tostring My Bad. Cerrar/eliminar, por favor. Lo siento – VoonArt