Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Collection value to a Date field

(0) ShareShare
ReportReport
Posted on by

Hi,

 

So I have two screens with two forms. So what I'm trying to do is from the first screen form values  I'm collecting to a collection .

 So on the second screen I want to use the collection value on some of fields on the second form.

I have been able to do for some field but not able for the date field 

 

For Text field this is working 

  Concat(ExternalUserCollection,FullName),

 

Pls let me know the syntax to do for the date field. I would like the date to be show as 'en-GB' too

 

  • Verified answer
    CNT Profile Picture
    10,919 Super User 2025 Season 1 on at
    Re: Collection value to a Date field

    @indhaa For demonstration, I've created a collection in the App,

    ClearCollect(ExternalUserCollection,
    {FullName: "myName",
    ExpiryDate: "21/12/2020"})

     To show this date in a DatePicker, I'm just setting some properties of the Date Picker as seen below,

    CNT_0-1621457297767.png

    Hope this helps.

     

  • indhaa Profile Picture
    on at
    Re: Collection value to a Date field

    Hi

     

    So my Date Field in the form is like this

    indhaa_0-1621456257980.png

    The collection is storing the date as below

    indhaa_1-1621456340525.png
    ClearCollect(
    ExternalUserCollection,
    {
    FullName: DataCardValue73.Text,
    ExpiryDate: DataCardValue116.SelectedDate

    })

     

    I first tried collecting the date field  as like this 

    ExpiryDate: Text( DataCardValue116.SelectedDate,"[$-en-US]dd/mm/yyyy")

    but it is giving incorrect date value in the form column.

     

    Hope that clear everything for you

     

     

  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on at
    Re: Collection value to a Date field

    @indhaa could you share the structure of your collection and also screen shots of u'r screens, to better understand what controls u r using.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard