Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LnuPTDKJyX5w4B98nuFNfM
Power Apps - Power Apps Pro Dev & ISV
Unanswered

How to get date from Power FX

Like (1) ShareShare
ReportReport
Posted on 7 Oct 2024 19:58:24 by 2
Hi I'm trying to take a date from a column called Start Date. It's formatted as MM/DD/YYYY. I’m trying to create a formula column where it takes the month and the day and changes the year to the current year. I’m having issues creating a formula column since Date isn’t supported. Anyone have any suggestions?
  • WarrenBelz Profile Picture
    146,947 Most Valuable Professional on 19 Oct 2024 at 00:42:41
    How to get date from Power FX
    Just following up to see if you received the answer you needed, or if you require further assistance.

    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    146,947 Most Valuable Professional on 07 Oct 2024 at 20:53:52
    How to get date from Power FX
    I am not sure what you mean by Date isn't supported - firstly what is your Data Source ? If anything other than Excel (which you need to consider moving from ASAP), the formula would be 
    Date(Year(Today()), Month(YourDateField), Day(YourDateField))
    If you trying to convert a string to a date
    With(
       {_Date:Split(YourString,"/")},
       Date(Year(Today()), Month(First(_Date).Value), Day(Index(_Date,2).Value))
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 42 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard
Loading started