# Date time picker generates time as 12am, but unusually it generated 11pm when saving one thing. Anyone ever seen this?

**URL:** <https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940>\
**Category:** Questions\
**Created:** [July 4, 2019, 11:57pm UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940 "2019-07-04T23:57:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vini\_brito](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vini_brito/32/22187_2.png) [@vini\_brito](https://forum.bubble.io/u/vini_brito)\
**Post date:** [July 4, 2019, 11:57pm UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/1 "2019-07-04T23:57:27Z")

</div>

Date time picker generates time as 12am, but unusually it generated 11pm when saving one thing. Anyone ever seen this?

---

<div class="post-metadata">

**Author:** ![anil](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/anil/32/250818_2.png) [@anil](https://forum.bubble.io/u/anil)\
**Post date:** [July 5, 2019, 5:45am UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/2 "2019-07-05T05:45:59Z")

</div>

This has happened to me often. I have never figured out why but if I don’t need a specific time saved, I always change the hours, minutes and seconds to 0 to ensure the date is consistent.

---

<div class="post-metadata">

**Author:** ![vini\_brito](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vini_brito/32/22187_2.png) [@vini\_brito](https://forum.bubble.io/u/vini_brito)\
**Post date:** [July 5, 2019, 6:08am UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/3 "2019-07-05T06:08:45Z")

</div>

Oh, thank you for sharing! I confess that I didn’t expected any response to this due to it being too specific.

That solves my case!

---

<div class="post-metadata">

**Author:** ![anil](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/anil/32/250818_2.png) [@anil](https://forum.bubble.io/u/anil)\
**Post date:** [July 5, 2019, 6:30am UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/4 "2019-07-05T06:30:29Z")

</div>

Glad I could be of help. Do you want to mark this as solved so that the thread can be closed?

---

<div class="post-metadata">

**Author:** ![peng.o](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/peng.o/32/32816_2.png) [@peng.o](https://forum.bubble.io/u/peng.o)\
**Post date:** [July 5, 2019, 6:34am UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/5 "2019-07-05T06:34:11Z")

</div>

This is could be due to daylight savings or timezone issue, +/- 1 hour

The native Bubble date/time picker uses the browser’s timezone when you choose a time so the result that’s saved could be wrong if DST is in effect and the browser has a different timezone

If it’s a big issue for your app we do have a private plugin that negates this issue

---

<div class="post-metadata">

**Author:** ![vini\_brito](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vini_brito/32/22187_2.png) [@vini\_brito](https://forum.bubble.io/u/vini_brito)\
**Post date:** [July 5, 2019, 7:09pm UTC](https://forum.bubble.io/t/date-time-picker-generates-time-as-12am-but-unusually-it-generated-11pm-when-saving-one-thing-anyone-ever-seen-this/60940/6 "2019-07-05T19:09:52Z")

</div>

@anil For sure!

@peng.o Will work with anil’s simple fix for now, but if I get to see this again I’ll reach out for sure! I appreciate that you’re telling me about this, many thanks!
