How could i datetime filed convert to number format

Thread is closed for posting
1 posts, 0 answers
  1. Tamim
    Tamim avatar
    64 posts
    Member since:
    May 2011

    Posted 24 May 2012 Link to this post


     How could i datetime filed convert to number format
      e.g:
           DateTime StartOfWeek = DateTime.Today.AddDays(-(int)DateTime.Today.DayOfWeek);
           DateTime EndOfLastWeek = StartOfWeek.AddDays(-1);
     
    Thanks
    Tamim
Back to Top