# Perspective Date Picker returns midday instead of 00:00

**URL:** <https://forum.inductiveautomation.com/t/perspective-date-picker-returns-midday-instead-of-00-00/65568>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 22, 2022, 11:47am UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-returns-midday-instead-of-00-00/65568 "2022-10-22T11:47:24Z")\
**Posts on this page:** 3\
**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:** [October 22, 2022, 11:47am UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-returns-midday-instead-of-00-00/65568/1 "2022-10-22T11:47:24Z")

</div>

The Date Picker `props.pickerType : date` returns a datetime value of midday on the selected date. Who thought this was a good idea? Surely it should return midnight?

The mode of operation creates a minor headache when bound bidirectionally to a session variable for a chart startdate, or similar.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 22, 2022, 3:35pm UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-returns-midday-instead-of-00-00/65568/2 "2022-10-22T15:35:30Z")

</div>

What version are you using? I know we've done 12:00 (noon) as the default since 8.0.0, but some recent changes to the Date components warranted defaulting to 0:00 (midnight) 8.1.22 RC1 should see Date components default to midnight.

---

<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:** [October 22, 2022, 3:38pm UTC](https://forum.inductiveautomation.com/t/perspective-date-picker-returns-midday-instead-of-00-00/65568/3 "2022-10-22T15:38:13Z")

</div>

> [@cmallonee](#):
>
> 8.1.22 RC1 should see Date components default to midnight.

Cool! (And an answer on a Saturday too.)  
I'm on 8.1.20.
