# Help with ion-datetime

**URL:** <https://forum.ionicframework.com/t/help-with-ion-datetime/240528>\
**Category:** Ionic Framework\
**Created:** [March 26, 2024, 8:02am UTC](https://forum.ionicframework.com/t/help-with-ion-datetime/240528 "2024-03-26T08:02:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shapebuster](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@shapebuster](https://forum.ionicframework.com/u/shapebuster)\
**Post date:** [March 26, 2024, 8:02am UTC](https://forum.ionicframework.com/t/help-with-ion-datetime/240528/1 "2024-03-26T08:02:32Z")

</div>

Hey guys

I’m struggling with the new ion-datetime in changing the dates to match my local timezone. The datepicker expects UTC time to be passed into it and then some manipulation has to take place when displaying the date on the app.

Just wondering if someone could show how they do it with a stackblitz assuming they are working in a timezone other than UTC?

thanks

---

<div class="post-metadata">

**Author:** ![Hills90210](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hills90210](https://forum.ionicframework.com/u/Hills90210)\
**Post date:** [March 27, 2024, 12:41pm UTC](https://forum.ionicframework.com/t/help-with-ion-datetime/240528/2 "2024-03-27T12:41:20Z")

</div>

The docs states how to do this: [ion-datetime: Ionic API Input for Datetime Format Picker](https://ionicframework.com/docs/api/datetime)
