Question
Get date format from field
I want to be able to get a date object form a date field. I am aware I can do this:
var value = getField("date").value;
var date = util.scand("yyyy-mm-dd", sDate);
But this requires that I know what the date format is.
I want to be able to get a date object from a date fields without having to bake the formatting string into the script.
Any help would be appreciated
