# DateTime error (Daylight Savings Time)?

**URL:** <https://community.homey.app/t/datetime-error-daylight-savings-time/78126>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [March 20, 2023, 6:37pm UTC](https://community.homey.app/t/datetime-error-daylight-savings-time/78126 "2023-03-20T18:37:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 20, 2023, 7:32pm UTC](https://community.homey.app/t/datetime-error-daylight-savings-time/78126/2 "2023-03-20T19:32:51Z")

</div>

What does the humanTime say here?:  
[https://tools.developer.homey.app/tools/system](https://tools.developer.homey.app/tools/system)

A way to force the right timezone is to temporary move your location to another timezone and move it back after a while  
( …More \> Settings \> Location)

Or it is the issue Homey uses UTC everywhere.  
Script (partly in dutch):

> [@Actuele tijd weergeven inclusief secondes](https://community.homey.app/t/actuele-tijd-weergeven-inclusief-secondes/75247/2):
>
> Probeer dit script eens: return getCurrentTime("nl-NL","Europe/Amsterdam"); function getCurrentTime(locale, timezone){ let date = new Date(); return date.toLocaleString(locale,{timeZone: timezone }); //return date.toLocaleTimeString(locale,{timeZone: timezone }); //return date.toLocaleDateString(locale,{timeZone: timezone }); } Ik heb het script nog even aangepast. Hij zal nu “datum+tijd” teruggeven, maar je kan ook alleen de tijd of alleen de datum ter…

---

_[View the full topic](https://community.homey.app/t/datetime-error-daylight-savings-time/78126)._
