format result of dat calc in linq
Posted
by d daly
on Stack Overflow
See other posts from Stack Overflow
or by d daly
Published on 2010-03-24T17:41:13Z
Indexed on
2010/03/24
17:43 UTC
Read the original article
Hit count: 303
dateformat
Hi
I have a calculation in a linq query, although it brings back the correct nuber of days, Im not sure how to better format it
select new { time = (System.DateTime.Today - cs.date_case_opened), }; just now it shows eg 4:00:00:00 if the difference is 4 days, any ideas how i can present this better?
thanks
© Stack Overflow or respective owner