Here LogInTime and LogOutTime are datetime datatype. How to solve this error?
- AccessDate = (DateTime.TryParse(x.LogOutTime, out parsed)) ? parsed.ToShortDateString() : "Unknown",
- AccessTimeFrame = (DateTime.TryParse(x.LogOutTime, out parsed)) ? parsed.ToShortTimeString() : "Unknown",


Nitin SontakkeRank #264 · 9.6K reputationPosted Nov 9, 2016, 2:34 AM EST
Manas MohapatraRank #182 · 13.2K reputationPosted Nov 9, 2016, 2:12 AM EST
Manas MohapatraRank #182 · 13.2K reputationPosted Nov 9, 2016, 12:26 AM EST
Abhilash J ARank #1,243 · 1.4K reputationPosted Nov 9, 2016, 1:21 AM EST
But I have a another question. I am using ADO.NET for SQLite DB select query. After excute this query return null. But there is data exist. The LogInTime is datetime format in SQLite DB. How can I solve this?