I post the form and try to get the value of the datepicker, it always return this value
date : Fri Jul 29 2011 20:30:37 GMT+0800 (Malay Peninsula Standard Time)
I am using VB CDate() function to convert this string to date but failed. May I know how I can get the proper display date string e.g. 29-07-2011?
If you are taking value from the form by getValues - it will return javascript date object ( which will be auto-converted to string during data sending - using native js date format )
you can use something like next to receive string value as string
var data = dhx.i18n.fullDateFormatStr($$(‘SA_cboDate’).getValue());
Thanks for the quick response. I would like to post the date value of the datepicker to another ASP page for processing using AJAX, may I know how I can add a hidden field in the form, so that when the user select a date, I set the date value to this hidden field and post to the ASP page in parse-able format.