Hi,
in the screen shot bellow, I would like the end time to refer to the start time,
end time=start time +5 days.
I am using adddDays function but i do not know how to call for the variable start time.
thanks for your help.
this string doesn't work
Hi @Yann78
Pls initialize a variable that holds the start time. Here I have captured the current time using utcnow() function in the variable:
Next, I pass this variable directly into the 'Start Time' parameter. In 'End Time', I added 5 hours using the expression as shown below:
Expression used in the 'End time':
addHours(variables('startTime'),5)
Pls note that the start & end time accepts date time in 'yyyy-MM-ddTHH:mm.ssZ' format (e.g. 2023-09-04T04:15:43.3607360Z)
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks
thanks you. That's not a direct method, but it does the trick, I'll use it.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 462 Super User 2025 Season 2
Tomac 456 Moderator
abm abm 243 Most Valuable Professional