Date and Time returning [object Object]?

I was having an issue where using the hoursUntil formatter the time was returning as NaN, which was odd, so I decided to do a bit more debugging and just add in the variable of the “Date and Time” component on the page to make sure that was printing correctly, to which I can see it is only returning [object Object], which I’m guessing is why the hoursUntil formatter was returning NaN.

Is there any particular reason as to why this might return [object Object]? The server model is PHP, and the PHP timezone is set correctly.

Wappler Beta 10. Using a simple php echo to show the time/date displays it correctly.

Community Page
Last updated: