Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
datetime error in C#
Mani Kandan
8y
250
1
Reply
Hello everyone,
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"
,
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Function calculate the Period of team
Where do I put my business logic in mvc?