@muneer thanks for sharing that! I was racking my brain because my alert(message) portion of JavaScript was popping up the correct message, but the label kept coming back as undefined.
1 Like
All I needed to do was to add .toUTCString
to the date variable.
ThunkableWebviewerExtension.postMessage(myDate.toUTCString());
I have updated the example I posted sometime ago so if someone uses it, gets the correct result.