cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Add two date fields

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Add two date fields

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/

View solution in original post

1 REPLY 1
Highlighted
Community Champion
Community Champion

Re: Add two date fields

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/

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,020)