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 Apps
Unanswered

Time Issues

(1) ShareShare
ReportReport
Posted on by 482

I've got a problem with a time field in a JS resource. I'm expecting the field to return 2/Jan/2022 and it does that for the formatted date, however I can't use the formatted date, I need to use the UTC and offset, but the UTC is being returned as 2022-01-01T13:00:00Z and the offset is 600 which return 1/Jan/2022 23:00:00.

 

So it's a day out - am I missing something when it comes to conversion?

I have the same question (0)
  • skoofy5 Profile Picture
    482 on at

    Here's some logging out to highlight the issue.

    The last three values are the formatted date, the utc and the offset.

     

    skoofy5_0-1663286307025.png

     

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @skoofy5 , 

     

    It could be a DaylightSavingTime issue. In January we have winter time, so it's an extra hour to consider.

    And for that, you need to know the DaylightSavingTime start and end for the country where your user lives.

    These issues are so terrible. I feel with you.

  • skoofy5 Profile Picture
    482 on at

    Yeah we've thought it might be DST. Though to make it confusing there's another date, saved by the same timezone settings for January that does come out as the 2/Jan... 

    It's super frustrating.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @skoofy5 , 

    Maybe the other date on 2.nd January has another time, which doesn't get affected by substracting/adding one hour.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 402

#2
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 293 Super User 2025 Season 2

Last 30 days Overall leaderboard