Hello I'm trying to create an event in the calendar with power automate as part of a flow and should be schedule for next day and have a duration of an hour.
I'm using the expressions :
Hi @crirojsab
I've done a blog on dates/times here https://damobird365.birdhoose.co.uk/2021/04/02/formatdatetime-and-formatting-a-string-date-in-power-automate/
Your 2nd expression is invalid as addhours() is not a datetime addDays(addHours(),1)
You could consinder using
Bear in mind that utcnow() is the date/time that the expression is called and the start time and end time will vary by a split second.
I ran this flow at 19:10 on 8th April.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here