Select to view content in your preferred language

Auto compute date of departure based on no. of nights and date of arrival

55
2
yesterday
AngelNicoleAlvaro1
New Contributor III

Hi! As the title says, how do you automatically compute for the date of departure if user has input for the no. of nights stayed and his date of arrival? Thank you.

0 Kudos
2 Replies
JenniferAcunto
Esri Regular Contributor
date(decimal-date-time(${arrival_field}) +  ${days_stayed})
- Jen
0 Kudos
DougBrowning
MVP Esteemed Contributor

I do it like this   date(decimal-date-time(now()) -  7)  to test for 7 days out.

So thinking something like

date(decimal-date-time(${CheckInDate}) +  ${NumberOfNights})

0 Kudos