Announcements
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 445
11manish 345 Super User 2026 Season 2
M Bilal Khan 300