I'd appreciate if anyone has come across issues with ExportToCSV javascript function (using version 3.27) not converting datetime data type to proper date format in csv, instead you have something like "1.5393E+12", which translates to a bunch of asterisks when you try to convert it in csv.
The function works for other data types except ESRI datetime.
Many thanks.