Umgeschrieben auf Sevdesk
This commit is contained in:
@@ -61,6 +61,16 @@ static class Helper
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
internal static DateTime ConvertBezahlDatum(string text)
|
||||
{
|
||||
//21.06.202308:39
|
||||
int uhrzeitsignature = text.IndexOf(':');
|
||||
string datum = text.Substring(0, uhrzeitsignature - 2);
|
||||
string uhrzeit = text.Substring(uhrzeitsignature-2,text.Length - uhrzeitsignature + 2);
|
||||
|
||||
return DateTime.Parse(string.Format("{0} {1}", datum, uhrzeit));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user