# Possible Maps Workaround?

**URL:** <https://community.thunkable.com/t/possible-maps-workaround/1594609>\
**Category:** Questions about Thunkable X\
**Created:** [November 3, 2021, 2:21am UTC](https://community.thunkable.com/t/possible-maps-workaround/1594609 "2021-11-03T02:21:01Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [November 4, 2021, 6:54pm UTC](https://community.thunkable.com/t/possible-maps-workaround/1594609/22 "2021-11-04T18:54:34Z")

</div>

All I needed to do was to add `.toUTCString` to the date variable.

```auto
ThunkableWebviewerExtension.postMessage(myDate.toUTCString());

```

I have updated the example I posted sometime ago so if someone uses it, gets the correct result.

> [@Date operations (No API)](https://community.thunkable.com/t/date-operations-no-api/1355407/3):
>
> I made a simple JavaScript code to get the date after certain number of days. [image] This is giving today’s date but if I add some days I get the future date in the label. [image] All managed by a web viewer extension running .html file added to the project as an asset… The Google sheet solution is still a viable solution and it works just as good. This is the blocks of the project This is the JavaScript Code \<!DOCTYPE html\> \<html\> \<head\> \<script src="https://thunkable.github.…

---

_[View the full topic](https://community.thunkable.com/t/possible-maps-workaround/1594609)._
