|
-
Jan 22nd, 2008, 12:12 AM
#1
Thread Starter
Addicted Member
Query in datetime
Hi Buddies,
I have one doubt. In my application i am using start date and end date as date picker. I am using keyboard to change date that date doesnt stored in database
otherwise current date is stored.But i am using date image that change the start date at that time, correctly stored in database that what i changed.
function PickerProSDate_onSelectionChanged(sender, eventArgs)
{
//alert(PickerProSDate.getSelectedDate());
//CalendarProSDate.setSelectedDate(PickerProSDate.getSelectedDate());
var dtProjectStartDate=<%=PickerProSDate.ClientObjectId%>.getSelectedDate()
alert(dtProjectStartDate);
var dtPickerProjectEndDate=PickerProSDate.formatDate(dtProjectStartDate,'MM/dd/yyyy');
alert(dtPickerProjectEndDate);
// ProjectStartDate.callback(dtPickerProjectEndDate);
ProjectPickerStartDate.callback(dtPickerProjectEndDate);
}
this is my code. Hope someone will rectify my doubts.
Thanks
Failing to plan is Planning to fail 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|