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.
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.