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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / V4CalendarPostItem Dat...
Power Apps
Unanswered

V4CalendarPostItem Date time not valid

(0) ShareShare
ReportReport
Posted on by 4

Hello everybody,

 

I read some of messages, problems about this but i tried different solution to use V4CalendarPostItem

I have every time this error:

 

VentiloFred_5-1639574674603.png

 

 

My regional settings on SharePoint, computer and Outlook are the same

VentiloFred_4-1639572041126.png

I tried V2 and work very well but a need more fonctions

 

VentiloFred_6-1639575027159.png

 

 

Do you have a solution?

Thanks

 

 

Categories:
I have the same question (0)
  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    @VentiloFred

    I tested on my side your code and it works fine.

    You can try to send dates in a specific format (replace commas with semicolons for Europe):

     

    With({
     wFirstDate: DateAdd( Now(), TimeZoneOffset(), Minutes ),
     wSecondDate: DateAdd( Now(), 10+TimeZoneOffset(), Minutes )
     }
     ,
     Office365Outlook.V4CalendarPostItem(
     LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name,
     "Test Post item",
     Text(wFirstDate, "yyyy-mm-ddTHH:mm:ss"),
     Text(wSecondDate, "yyyy-mm-ddTHH:mm:ss"),
     "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris"
     )
    )

    If that does not work, I don't have any other ideas.

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Have you checked your browsers Language UI Settings chrome can be  funny

    AJ_Z_0-1639588260899.png

    If my comment is helpful please like/kudo it to make me smile 🙂 and if it is your solution please click accepts as solution

  • VentiloFred Profile Picture
    4 on at

    Thanks for your time, but i have the same problem 😞

  • VentiloFred Profile Picture
    4 on at

    It's just a language setting? I don't thing is an influence for this, i don't see a parameter for time zone in Chrome. I made a test (first time) with my phone and i have the same problem

    Thanks for you contribution 

  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    @VentiloFred 

     

    i got other ideas that may work for you (both work fine on my side)

     

    Office365Outlook.V4CalendarPostItem(
     LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name,
     "Test Post item",
     Text(Now(), DateTimeFormat.UTC),
     Text(DateAdd( Now(), 10, Minutes ), DateTimeFormat.UTC),
     "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris"
    )

     

    or

    Office365Outlook.V4CalendarPostItem(
     LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name,
     "Test Post item",
     DateTimeValue(Text(Now(), DateTimeFormat.UTC)),
     DateTimeValue(Text(DateAdd( Now(), 10, Minutes ), DateTimeFormat.UTC)),
     "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris"
    )

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard