I want to convert the value taken from a DateTextBox into an ISO String using the following function.
console.debug(date);
The debug message says that the date is NULL. If I do the same with a created Javascript Date object it works fine.
console.debug(date);
The debug message shows a date string. I've also tried using the dojo locale format function and it also has the same behavior.
