Need information about date picker

Thread is closed for posting
2 posts, 0 answers
  1. Kavi
    Kavi avatar
    9 posts
    Member since:
    Mar 2011

    Posted 30 Oct 2011 Link to this post

    Hi ,

      I am using radDatetImepIcker as a seperate control .(Not inline with grid or anything else). I need to set date/time in picker by default based on my server time zone like ‘DD.MM.YYYY HH24:MI:SS TZR’.

    Please advice as soon as earlier.

  2. Vasil
    Vasil avatar
    1604 posts

    Posted 02 Nov 2011 Link to this post

    Hello Kavi,

    The RadDateTimePicker (and the DateInput itself) does not manage the timezones.
    So you could use format expression like: "dd.MM.yyyy hh:mm:ss".
    When you get the SelectedDate you will get a DateTime object parsed with unspecified time zone. You could later convert the time in different timezone manually if you need.

    Please also note that the DateTime object itself does not store information about the timezone. For more information check these resources:

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top