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.
THanks,
Priya
1 Answer, 1 is accepted
0
Vasil
Telerik team
answered on 02 Nov 2011, 08:29 AM
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.
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