web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Time is not saved at 0...
Power Apps
Answered

Time is not saved at 00:00:00 even tho selected to be so? Form/time/date

(0) ShareShare
ReportReport
Posted on by 1,097

I need date/time to be saved like this

2022-01-02T00:00:00Z

 

Datevalue and time should always be set at 00:00:00

 

But every time i save the form in powerapps the time is set to 23:00:00

 

Why?

 

This is my form:

Datefield defaultdate is set to : Text(Now();"yyyy-mm-dd") have also tried just Now() same result.

Hour field default is set to : "00"

Minute field default is set to : "00"

Oskarkuus_0-1641040101628.pngOskarkuus_1-1641040142351.pngOskarkuus_2-1641040158028.png

 

This is the card in the form.

Oskarkuus_3-1641040222452.png

 

 

How do i get it to save at time T00:00:00Z and not T23:00:00Z

Oskarkuus_4-1641040256530.png

 

 

 

Categories:
  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Oskarkuus ,

    I just tested it here and it worked perfectly

    WarrenBelz_0-1641072917933.png

    WarrenBelz_1-1641072934431.png

    although mine was on SharePoint (I assume yours is Excel). Are you sure you do not have a timezone issue - to check, try saving 1:00 am and see what it writes back as.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Oskarkuus Profile Picture
    1,097 on at

    My datasource is Dataverse.

    I have found that if i manually set the time one hour back in Powerapps form, then it is saved as i want.

     

    But i do not know how to set timezone in dataverse?

     

    I also setup a sharepoint list and then the time is saved as expected. So it has to be something with dataverse and timezones somehow.... but i do not know why and how

  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Oskarkuus ,

    I am a SharePoint user, but will tag my colleague @RandyHayes to see if he has an idea on this.

  • Oskarkuus Profile Picture
    1,097 on at

    Thank you.

    Since the datecolumn in dataverse display date+time and i primarly only use the date but i do not want to remove time since it might be needed in the future, i want to set the default time to 00:00:00 no matter what timezone or settings the enduser have.

     

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Oskarkuus ,

     

    You could check your dataverse timezone .

    vxiaochenmsft_0-1641195300229.png

    vxiaochenmsft_1-1641195311340.png

    vxiaochenmsft_2-1641195348250.png

     

    Best Regards,

    Wearsky

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Oskarkuus 

    Sorry for delay...trying to catch up on all the posts.  Are you still experiencing issues that you need help with?

  • Verified answer
    Oskarkuus Profile Picture
    1,097 on at

    I solved it by making the column date only and removed the time function from my app. 

     

    But i never found out why timezone did not match the current one setup in our enviroment.

     

     

  • Oskarkuus Profile Picture
    1,097 on at

    Tho i think the problem is daytime saving.

     

    Might it be that dataverse dont take that into account? 

  • MattiasP1 Profile Picture
    138 on at

    May need to add  "[$-en-US]hh:mm:ss".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard