# Date&Time Error... does Adalo account for Daylight Savings?

**URL:** <https://forum.adalo.com/t/date-time-error-does-adalo-account-for-daylight-savings/8908>\
**Category:** Get Help\
**Created:** [February 8, 2021, 3:31am UTC](https://forum.adalo.com/t/date-time-error-does-adalo-account-for-daylight-savings/8908 "2021-02-08T03:31:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![karimoo](https://avatars.discourse-cdn.com/v4/letter/k/ad7895/32.png) [@karimoo](https://forum.adalo.com/u/karimoo)\
**Post date:** [February 10, 2021, 5:35am UTC](https://forum.adalo.com/t/date-time-error-does-adalo-account-for-daylight-savings/8908/4 "2021-02-10T05:35:58Z")

</div>

@sadalo Now I got your point (I hope 😉 )  
The short answer is: The Adalo database is handling the time conversion including DST - and we have not way to influence it. There is no setting (like in Airtable!) to include or exclude timezone conversion).  
And:  
**There is a timezone problem** with this workaround to calculate with date and time.

That is what I know:  
The values for Date/Time property are stored in the database including the timezone information calculate down to UTC.  
That means if I store a date with 16:00PM in my timezone (UTC+4) it actually is saved with 12:00PM(UTC).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/0/0147920b966c9da2d3be8c4f426a13d49d1bbb6d.png)  
For display the timezone of the user is applied.  
So the save value 12:00(UTC) will be displayed for me as 16:00PM. This will not change as Dubai does not use Daylight Saving Time(DST).  
My family in Germany will see 13:00PM for a date in winter (Central European Time/CET - UTC+1),  
but 14:00PM for a date in summer (Central European Summer Time/CEST - UTC+2).  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/fc28a46d7428b0edf3a4985aff6e0682d27bbdf9.png)

Using the workaround does not take the timezone into account.

There is a way (another workaround) to figure out your timezone using the difference of Date vs. DateTime database fields (see below).  
But as you already mentioned this might be a bigger effort.

If you still have the option, try to move all your date/time information to Airtable.  
This way you can do all the date&time calculations Adalo does not offer using Airtable Formula, including the option to deactivate timezone conversion, first day of the week, month, weekday …  
But be aware that there are other restrictions with the Airtable integration such as paging (max records returned) or Lookup fields.

**Workaround to calculate user timezone offset**

1. Save the “Start of the day” to a database field of type Date in the User collection  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/308debfddb4fca6541230c3daa1ead6f31aa2e56.png)

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/fbad9f3beb5e29a6f5c059c5947187d07d904224.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/cfd1e63388470a7ce35e699428ad4dcc313e966b.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/569909f5230dc8a8946d8faa109134476f21f08e.png)  
2. Calculate the time difference and save it to the user collection as UTC offset  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/36961e5a741b5e91f602f88f425081b19788d0fd.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/c9851faa5331524d5a840182c6493881008698af.png)

---

_[View the full topic](https://forum.adalo.com/t/date-time-error-does-adalo-account-for-daylight-savings/8908)._
