How can I convert the data in this excel into DataTime type?

Hi,

It seems same matter with the following topic.

There are many extra characters (0x200e) in your date string.

Can you try to remove them then convert to datetime as the following?

CDate(dt.Rows(0)(0).ToString.Replace(Chrw(&H200e),""))

Sample
Sample20240821-2.zip (8.5 KB)

Regards,

1 Like