c# - OrderBy list for only Date but not Time -


i have ilist<customclass>

my customclass: createddate(datetime), name(string), number(int)

i use orderby(p => p.createddate)

my question: how custom or find way order createddate date, not include time when order?

given createddate of type datetime can following.

orderby(p => p.createddate.date) 

Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -