String is not recognized as a valid datetime

@ChrisPals If you want it in Date Type Format , Remove .ToString(“dd-MM-yyyy”)

1 Like