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

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

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

The canvas has been tainted by cross-origin data in chrome only -