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 / [HELP] Gallery Item Ye...
Power Apps
Unanswered

[HELP] Gallery Item Year is Different from SharePoint Column Value

(0) ShareShare
ReportReport
Posted on by 195

Hi Everyone, 

Good day! 

I have a column value with year 2025 in SharePoint but when displayed in gallery it is 2024. 
gallery: 

YamiteKudasai_0-1711553444198.png

But in SharePoint it is 2025. 

YamiteKudasai_1-1711553494292.png


I have also checked the collection and it is also getting the correct value which is 2025 from SP. 

YamiteKudasai_2-1711553572414.png


But the ThisItem.StartDate in gallery is 2024. 
What supposed to be the problem and possible resolution?



Thanks in advance!

Categories:
  • Shravyashree_01 Profile Picture
    174 Moderator on at

    Hi @YamiteKudasai ,

    Are there are other validations that you are adding to the control?

    Text(DateTimeValue(ThisItem.StartDate, "en-GB"), "m/d/yyyy", "en-US")
    [Not sure if it works but try this]
  • YamiteKudasai Profile Picture
    195 on at

    Hi @Shravyashree_01 , 

    Not working on my end. No validations within the control. I also tried creating new gallery and same things happened. 

    The column type on sharepoint for this is datetime but dateonly was setup

     

  • Shravyashree_01 Profile Picture
    174 Moderator on at

    Hi,

    here are a few things you can consider:

    -Time Zone setting of your SP list must be  same as your PowerApps.

    -DateOnly setting usually has this issue with the date, Ive not encountered issues with year so another option is to set it back to datetime without the dateonly setting and use the below code

    Text(ThisItem.StartDate,"dd/mm/yyyy","en-US")
    -check if the created by displays the right format 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard