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 / Collection value to a ...
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

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @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.

  • indhaa Profile Picture
    on at

    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

     

     

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @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.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard