|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi Friends, I am working on c#.net I am trying to get the value of DatePicker on Client by Javascript var checkindate = eo_GetObject("CheckInDatePicker").getSelectedDate();
But the format of Date is WED Nov 28 2007 00:00:00 GMT 020 (....)
Now i am passing this value from URL and then on serverside trying to convert this date into normal format. But i am not able to convert it throws me error Invalid Format of DateTime. I want it in format 28/11/2007 or 2007-11-28 anything will do...
Any suggestion or Help would be greatly appreciated.
Thanks
Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
getSelectedDate returns a JavaScript Date object. So you will need to format it by yourself if you wish to pass it along with an Url.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There, If you could please show me an example how you convert it?
Thanks Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Menon,
That would be general JavaScript programming and unfortunately that's out of the scope of our tech support. Our support is only limited to our product.
Thanks
|
|