Mögliche Duplizieren:
How can I format a nullable DateTime with ToString()?Datetime .ToString (Format)
bekam Ausgabe Datetime Parsen? zu einem bestimmten Format. Like:
DateTime t1 = ...;
string st1 = t1.ToString(format); //<-- works
DateTime? t1 = ...;
string st1 = t1.ToString(format); //Dont work.
Theres keine Überlastung Methode für Datetime?
http: // Stapel overflow.com/questions/1833054/how-can-i-format-a-nullable-datetime-with-tostring Mein Bad. Schließen/löschen, bitte. Entschuldigung – VoonArt