web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

Event Creation

(0) ShareShare
ReportReport
Posted on by 89

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 :

  •  addDays(utcNow(),1) for the start time and
  • addDays(addHours(),1) for end time
But I believe that is obvious that I'm not doing it correctly. 
 
More than appreciated any help
 

 

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    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 

    addhours(addDays(utcNow(),1),1)
     
    DamoBird365_0-1617909072850.png

     

    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.

     

    DamoBird365_1-1617909153756.png

     

     

    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

     

     

     

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard