Match error string-datetime

i am not working in VB, i am using C#, Windows , is compatible¿