DTPicker

A silly question really, but how do I get the value of a DTPicker. I just need to get the value in session variable and display it on a different page.

View Replies


ADVERTISEMENT

Set Default Date And Time For DTPicker

I have a web page with users selecting start and end date/time. This is being done with DTPicker controls. However, I am having trouble setting initial default values for the date and time. When the page loads, it should show yesterdays date in the control along with 00:00:00 for start time and 23:59:59 for end time.

ie. Since today is 4/5, the controls should be set to 4/4/2005 00:00:00 and 4/4/2005 23:59:59. However, Anything I have tried seems to set the default value to the current date and time. Any Ideas?

View Replies View Related

Getting User Selected Date From DTPicker

I have a big problem trying to get the date selected by a user on a DTPicker in a desied format. I am able to get the date selected by the user, but the format is not what i want.

Following is the date i get "Wed Dec 1 00:00:00 UTC+0530 2004", while i want a simple "mm/dd/yy" output. Can anyone please tell me how to change the format of the user selected date sent by the DTPicker ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved