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 / Not possible to store ...
Power Apps
Unanswered

Not possible to store dates in collections?

(0) ShareShare
ReportReport
Posted on by 112

I've watched so many videos on YouTube and searched Google to try and find how you store dates within collections, but not found an answer.

 

I am merely trying to define a date column in collection so that it will store a date from a date picker.

 

This is the code I have on All start:

 

ClearCollect(Col1, {One: "", Two: DateValue("dd/MM/yyyy"), Three: DateValue("dd/MM/yyyy"), Four: ""})

 

I did initially have 'en-GB' but then I got this error:

 

1000044984.jpg

 

Does anyone have any idea how I "define" a date column in a collection so that it stores a date from a date picker?

Categories:
  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @elfreddos ,

    If you simply want to prepare the column to be Date format

    ClearCollect(
     Col1,
     {
     One: "",
     Two: Date(1900, 1, 1),
     Three: Date(1900, 1, 1),
     Four: ""
     }
    )

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard