Thanks klaus, the date I get from the MS SQL Server database is a string type that has the following format:
2018-05-14 11: 38: 01.6258711
Using the function DateTime.DateParse I would need a date with format MM/dd/YYYY, example code:
Dim SomeTime As Long = DateTime.DateParse ("05/14/2018")
A possible solution would be to obtain the date the year, the month and the day using the SubString2 function but this would be very cumbersome.
What would then be an easy way to do this?