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 Platform Community / Forums / Power Automate / Date Format while inse...
Power Automate
Answered

Date Format while inserting Date And TIme into a sharepoint list

(0) ShareShare
ReportReport
Posted on by 320

Hello ,

I am having a problem while inserting date and time data in sharepoint list using flow.

I am reading events from my calendar.

So here i get dynamic contents "StartTime" and "EndTime" from sharepoint list in ms flow as this is data read by event trigger from the Calendar event.

here i get correct  time of my event in UTC format. 

Now i want to insert this data in other sharepoint list .

Here when i create a action "Create Item" in new sharepoint list i get the problem.

The UTC time for my event is 9.30  (format of UTC --> 2017-11-24T09:30:00+00:00

But when i inser this data in createe item action i get some other data as output in my sharepoint list column 

(data in SP List -->2017-11-24T01:30:00Z).

Why is this happening and how can i stop this from happening??

 

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi abd3127,

     

    Are you using SharePoint calendar list?


    According to your description, it seems that you are using the SharePoint Calendar list, and you are trying to add the item in another SharePoint list within the same site.


    So I create a flow likes below to test this issue. When the flow is triggered, the item created in another list has the same End time and Start time with the Calendar list.

    3.PNG

    4.PNG

    5.PNG

     

    Best regards,
    Mabel Mao

  • abd3127 Profile Picture
    320 on at

    Hello @v-yamao-msft

    i am using outlook calendar and the trigger i am using is "When an event is starting soon".

    There i am getting this problem.

  • efialttes Profile Picture
    14,756 on at

    @abd3127

    Which value are you receiving in the Trigger output "Start time zone" / "End time zone"?

  • abd3127 Profile Picture
    320 on at

    Hi @v-yamao-msft@efialttes

     

    I am getting UTC values from the trigger 

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Could it be a mismatch between Sharepoint Timezone (Regional/Personal) and the calendar event Timezone?

     

    https://sharepointmaven.com/sharepoint-time-zone/

  • abd3127 Profile Picture
    320 on at

    @efialttes@v-yamao-msft

    I think its the mismatch. i ll try to correct that.

     

    Can u tell mee how to comapre two date time values in Conditions of ms flow?

    I needed to check if the two dates match or not ???

  • efialttes Profile Picture
    14,756 on at

    Hi!

    THis excelent post explains a method to compare dates thanks to the tick() function

    https://flow.microsoft.com/en-us/blog/email-digest-date-manipulations/

    Hope this helps

     

     

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard