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 / Add two date fields
Power Apps
Answered

Add two date fields

(0) ShareShare
ReportReport
Posted on by 62

I am really new to power apps and I am trying to setup a sharepoint list with a custom form. I am currently stuck due to the below:

 

I need to add two dates fields and get the no of nights. I want this field to be updated automatically based on the Arrival / Departure dates. 

 

I have 3 fields

Arrival =        15/07/2018

Departure =  18/07/2018

Nights =        3 (I want this to be updated based on the dates above)

 

Can you please let me know how I can achieve this ?

Categories:
I have the same question (0)
  • Verified answer
    Meneghino Profile Picture
    6,949 on at

    Without the oob forms.

    Make your won form and use the Patch to write the number of nights to the SharePoint list.

    The number of nights you calculate with a DateDiff()

    https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard