I have a string in the form \"yyyy-mm-dd hh:mm:ss.mmm\" (where the end is milliseconds)
\"yyyy-mm-dd hh:mm:ss.mmm\"
I\'d like to convert it to a number, preferably a Date
Date
Use the Left$ function to trim the decimal point and milliseconds:
Left$
Dim dateValue As Date dateValue = CDate(Left$("2017-12-23 10:29:15.223", 19))