Just use ToString() and pass a format e.g.:
startDate.ToString("yyyyMMddHHmmss")
And parse it back by using DateTime.ParseExact()
Just use ToString() and pass a format e.g.:
startDate.ToString("yyyyMMddHHmmss")
And parse it back by using DateTime.ParseExact()