cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
iioannou
Level: Powered On

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
Meneghino
Level 10

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
Meneghino
Level 10

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,986)