This is a migrated thread and some comments may be shown as answers.

Rad Date time picker default time

5 Answers 140 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Kavita
Top achievements
Rank 1
Kavita asked on 18 Aug 2014, 11:28 AM
I have a rad date time picker in my website which shows time from 12:00 AM to 11:00 PM
When user selects date, the time is set to 12:00 AM automatically.
I want this time to be 7:00 AM instead of 12:00 AM.
Also i want to show complete 24 hr time like it was showing it before (12:00 AM to 11:00 PM).
Kindly provide some solution.

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Aug 2014, 12:13 PM
Hi Kavita,

Please have look into this code library to achieve your scenario.

Thanks,
Shinu.
0
Kavita
Top achievements
Rank 1
answered on 18 Aug 2014, 12:16 PM
I have already try this link.
If i set start time to 7:00 AM then in time view i am not able to show time till 6:00 AM.
0
Accepted
Shinu
Top achievements
Rank 2
answered on 19 Aug 2014, 03:31 AM
Hi Kavita,

Please do the following modification in the ASPX page which works fine at my end.

ASPX:
<telerik:RadDateTimePicker runat="server" ID="RadDateTimePicker1">
    <TimeView ID="TimeView1" runat="server" OnClientTimeSelecting="timeSelecting" TimeFormat="HH:mm:ss" />
    <ClientEvents OnDateSelected="dateSelected" />
</telerik:RadDateTimePicker>

Thanks,
Shinu.
0
Kavita
Top achievements
Rank 1
answered on 19 Aug 2014, 08:53 AM
Hey thanks shinu.
Your answered worked!!
0
Kavita
Top achievements
Rank 1
answered on 19 Aug 2014, 08:54 AM
Hey thanks shinu.
Your answer worked!!
Tags
Calendar
Asked by
Kavita
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kavita
Top achievements
Rank 1
Share this question
or