How to covnert Date string from "yyyy/mm/dd" to "yyyymmdd"

I want to extract Date data from excel cell written “yyyy/mm/dd” without slash"/". Please kindly tell me how to do.

Regards

strDate.Replace("/",string.Empty)

2 Likes

vvaidya, thank you for the quick answer! I will try soon.

@vvaidya I successfully done! Thank you!