Not a legal OleAut date

hello all,

what is this error?and how to solve it??

Do you have any data as the date in your excel?

Thanks,
Rammohan B.

yes

Hey @Shobhit_sachan

Are you connecting Excel via Connection string and ole adapter?

Do one thing just use

DateTime Date = DateTime.FromOADate(Your Value replace here)

Regards…!!
Aksh