Get text string convert to date/time?

Checktime=Convert.ToDateTime(strTime)
Yes,first convert it to time and then subtract it from current time

1 Like