Hi,
I am using a RadDatePicker Control on my page. I have to calculate the difference in weeks between the date selected in this RadDatePicker Control and Current Date (i.e Today's Date). I have to display this difference (in weeks) inside a textbox on selecting a date from the RadDatePicker Control. How can I do this ?
I have used the following html code for RadDatePicker Control in my application :-
<telerik:RadDatePicker ID="dtDate" runat="server" DateInput-DateFormat="dd/MM/yyyy" Width="120px" Skin="WebBlue"> |
<DateInput DateFormat="dd/MM/yyyy" LabelCssClass="radLabelCss_WebBlue" Skin="WebBlue" runat="server" ID="DateInput6" > |
</DateInput> |
<Calendar Skin="WebBlue" Width="50px" Height="50px"> |
</Calendar> |
<DatePopupButton CssClass="radPopupImage_WebBlue" /> |
</telerik:RadDatePicker> |
Thanks