I use this expression to convert from System.Text>RegularExpressions.Match to DateTime
and it gives me the result in mm/dd/yyyy 00:00:00

how to get read of those 00:00:00 ?
I use this expression to convert from System.Text>RegularExpressions.Match to DateTime
how to get read of those 00:00:00 ?
If you need string, you can use like that;
invoiceDate.ToString(“MM/dd/yyyy”)
Hi @ercanebiler
Thank you for the reply! I need it DateTime
can you be more clear means whats your input and whats your expected output
Hi @ImPratham45,
Nice to see you again!
I expect 5/25/2020 instead of 5/25/2020 00:00:00
@Cardon_Cezar I don’t think it’s possible to retain only the Date part as DateTime, since the Standard Convention of DateTime or Date type in c# or vb.net has both Date and Time representation. So only way is to get the Date format might be to convert it into a String.