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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dates and Time Zones
Power Apps
Answered

Dates and Time Zones

(1) ShareShare
ReportReport
Posted on by 433

I have a date that has been stored in an Excel file. It does not have a time in it.  My local time zone is Pacific, 8 hours earlier than GMT.  When I try to display the date PowerApps, it consistently shows one day earlier than it should.  I thought maybe PowerApps is adding a zero time and then considering it to be GMT, but that would have resulted in a later time, not an earlier time.  I am not currently making any time zone corrections, which I don't actually think would be possible for a date without a time.  How can I work around this, so I can display the correct date?

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @akharns 

    Have you tried playing around with TIMEZONEOFFSET?

    DateAdd(your_date_field),TimeZoneOffset(your_date_field),Minutes)
    DateAdd(your_date_field),-TimeZoneOffset(your_date_field),Minutes)

     

    More info at the bottom of this MS Documentation

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-dateadd-datediff

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • akharns Profile Picture
    433 on at

    How can you do that when you haven't stored a time?

  • akharns Profile Picture
    433 on at

    Do I need to assume that PowerApps will always incorrectly translate my dates, so I always need to convert them back by subtracting 1?

  • mdevaney Profile Picture
    29,989 Moderator on at

    @akharns 

    Yes, if you don't care about the time then just subtract by 1 like this.

    DateAdd(your_date_field,-1,Days)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • akharns Profile Picture
    433 on at

    Ok.  I don't like it but at least I know.  Thanks

  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    Whatever gets the job done.  I mean, that's the proper maxim here, right?

     

    If the issue is solved for now please close the thread. 😉

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard