It's not clear what you're asking for, but you can access the day from a DateTime as follows:
DateTime dt=DateTime.Now;
int day=dt.Day;
If you want the time difference in days:
DateTime dt1=new DateTime(2010,12,6);
DateTime dt2=new DateTime(2010,12,18);
int dayDelta=(dt2-dt1).Days;
source
share