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 Apps
Unanswered

Setting time stamp

(0) ShareShare
ReportReport
Posted on by 166

Hi,

 

I am building a form wherein there are three sections that I am tracking the date/time stamp.

 

The first part is whenever a new user raises a query a time stamp should be saved based on the time, he typed his query.

ComicSansrival_0-1695201753473.png

 

Second part is when the receiver of the query started to type his resolution

ComicSansrival_1-1695201788554.png

 

And the last one is when the query was set to "Resolved"

ComicSansrival_2-1695201818444.png

 

I would like to ask if you can send steps on how to record time stamps of the above scenarios.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @ComicSansrival - there are many ways to achieve this for Forms:

     

    My method:

     

    1. Create a Date field in SharePoint for the Query Detail field

    2. Add this field into your Form

    3. [Optional] Set the DisplayMode property for the DataCard to: DisplayMode.View

    4. Set the Update property to:

     

    If(
     'Your Query Detail DataCard'.Default <> 'Your Query Detail DataCard'.Update,
     Now(),
     ThisItem.'Your Query Detail Date Stamp Column'
    )

     

    5. [Optional] Set the Visible property of the DataCard to:

     

    !IsBlank(ThisItem.'Your Query Detail Date Stamp Column')

     

     

    Repeat the above steps for the other 2 fields.

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @ComicSansrival - I see you have given kudos to this post, but has it solved your question?

  • ComicSansrival Profile Picture
    166 on at
    Hi, I haven't test it yet but will get back to my query later.
  • ComicSansrival Profile Picture
    166 on at

    Hi @Amik,

     

    Where can I find the "update" in step 4?

     

    Also, how can I do the same for the time?


    Seems like time has different setting for hh and mm:

    ComicSansrival_0-1695293580429.png

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @ComicSansrival - the Update property is in the DataCard for that field (not the DataCardValue)

     

    Amik_0-1695302619225.png

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @ComicSansrival - is this now resolved?

  • ComicSansrival Profile Picture
    166 on at

    Hi @Amik,

     

    I was able to update now the date but I have one more question.

     

    How can I set the timestamp to now if the dropdown value is equal to "Closed"?

     

    Dropdown details:

    ComicSansrival_0-1695448272800.png

     

    ComicSansrival_1-1695448302544.png

     

    And lastly how can I apply this auto time stamp to hours and minutes?

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @ComicSansrival - please remember to accept the solution to the original question.

     

    I do not understand your logic to the new question. What is the point of checking if the dropdown field = "Closed?" since the Query Resolution date field will already be populated with the current date time whenever that dropdown changes (irrespective of the selected dropdown value).

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard