I have a function that should return Date Time for further sort. It never returns the value. I’ve dug and cannot find anything. In addition, the documentation doesn’t have examples where the result will be ‘date-time’.
But even with a dead simple function - the result is blank:
window.function = function () {
return new Date()
}
Any thoughts @Manu.n@gvalero? I don’t use date-time that much in Replit. Seeing as you guys have worked with this a lot this week hopefully you have an answer.
But if you want to manipulate dates, I encourage you to take this ‘date-Test’ script as a starting point, you don’t have to worry about regional settings or the time difference for the return date-times. .
if you have any questions, i’m getting to know the subject a bit!
Yep, driver.js with convert function solves problem. Hadn’t realized that can debug and fix it’s work @Mark I propose updating example scripts with better driver.js, as many of us use them as starting point for own functions(including dates)