# Ion-datetime picker opens a date time picker but showing time before 5:30 hrs of current date time

**URL:** <https://forum.ionicframework.com/t/ion-datetime-picker-opens-a-date-time-picker-but-showing-time-before-5-30-hrs-of-current-date-time/132264>\
**Category:** ionic-v3\
**Created:** [June 6, 2018, 11:58am UTC](https://forum.ionicframework.com/t/ion-datetime-picker-opens-a-date-time-picker-but-showing-time-before-5-30-hrs-of-current-date-time/132264 "2018-06-06T11:58:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanchan01](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@kanchan01](https://forum.ionicframework.com/u/kanchan01)\
**Post date:** [June 6, 2018, 11:58am UTC](https://forum.ionicframework.com/t/ion-datetime-picker-opens-a-date-time-picker-but-showing-time-before-5-30-hrs-of-current-date-time/132264/1 "2018-06-06T11:58:30Z")

</div>

\<ion-datetime style="height: 20px;padding: 0px; padding-left: 2px;

color: black;font-size: 15px;padding-top: 5px;padding-left: 4px;  
margin-right: 0px; background-color: transparent"  
displayFormat="YYYY-MM-DD HH:mm A "  
pickerFormat=“MMM DD,YYYY hh:mm A”  
[(ngModel)]=“time”\>

this.time = new Date().toISOString();

---

<div class="post-metadata">

**Author:** ![Clenton](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@Clenton](https://forum.ionicframework.com/u/Clenton)\
**Post date:** [July 6, 2018, 7:09am UTC](https://forum.ionicframework.com/t/ion-datetime-picker-opens-a-date-time-picker-but-showing-time-before-5-30-hrs-of-current-date-time/132264/2 "2018-07-06T07:09:01Z")

</div>

Am too having the same issue but cant able to fix it 🙁

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:33pm UTC](https://forum.ionicframework.com/t/ion-datetime-picker-opens-a-date-time-picker-but-showing-time-before-5-30-hrs-of-current-date-time/132264/3 "2021-07-19T21:33:23Z")

</div>

Closed on July 19, 2021, 9:33pm UTC


