# Perspective date picker daylight savings?

**URL:** <https://forum.inductiveautomation.com/t/perspective-date-picker-daylight-savings/53595>\
**Category:** Ignition\
**Created:** [November 30, 2021, 10:34pm UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-daylight-savings/53595 "2021-11-30T22:34:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 30, 2021, 10:34pm UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-daylight-savings/53595/1 "2021-11-30T22:34:07Z")

</div>

Here’s a weird one!  
I have the `midnight()` expression function rounding the date picker to 00:00:00. It works fine from 1st November onwards and previous to 28th March this year but between those dates it subtracts an hour from the result and gives me 23:00 on the day before the date selected.

 ![Datepicker offset](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/9/a9091ffd26561c695f32629edd879a998d5dc5c5.png)

Is this a concealed daylight savings time feature?
