PeriodEnd without a time component

2 posts, 0 answers
  1. Frans
    Frans avatar
    7 posts
    Member since:
    May 2012

    Posted 25 May 2012 Link to this post

    I'm setting the PeriodEnd on the Timebar control without any time component, i.e. 3/7/2011 12:00:00 AM.  When selecting dates on the UI, I can only select until 3/6/2011?  Is there a way to change this to display/select the PeriodEnd being passed in? I'm by default selecting the full date range (PeriodStart - PeriodEnd). 
  2. Yavor
    Yavor avatar
    401 posts

    Posted 30 May 2012 Link to this post

    Hello Frans,

    In .Net the date 3/7/2011 12:00:00 AM is equal to 3/6/2011 24:00:00. This means that if you say that your period ends at 3/7/2011 the timebar will show the period prior to 3/7/2011 (excluding it). If you want to include 3/7/2011 you can specify the ending of your period as 3/8/2011 12:00:00 AM.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top