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 Automate / Difference between flo...
Power Automate
Answered

Difference between flow date and sharepoint list

(0) ShareShare
ReportReport
Posted on by 18

I am getting data from SQL Server and one of the column has Date and Time, when I use that field to update sharepoint List column date and time, same name in column. The times are different.

PA Update Item.png

 

SharePoint List.png

 How can I fix this issue?

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Can you check if your SharePoint site is in the same timezone?

    Change regional settings for a site - Microsoft Support

     

  • LearningPA23 Profile Picture
    18 on at

    Hi SundeepGhataKNZ,

     

    Appreciate your feedback.  I did check that and the site is set for the correct time zone (Easter Time Zone). That unfortunately does not fix the problem.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Are you able to post a screenshot of the Update action in designer mode?

     

  • LearningPA23 Profile Picture
    18 on at

    As you can see the date is fed by the compose above, this is the formula: 

    if(empty(items('Apply_to_each')?['NextMeetingStartDate']),null,formatDateTime(items('Apply_to_each')?['NextMeetingStartDate'],'MM/dd/yyyy hh:mm tt'))
    Designer Mode.png
    It comes out well just the time zone is the issue.  I had the timezone format in there but that didn't work either, also tried put the "G" and that didn't work.
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @LearningPA23 ,

    In your Compose action use the UTC format

    formatDateTime('Your SQL Date','yyyy-MM-ddThh:mm:ssZ')

     

  • LearningPA23 Profile Picture
    18 on at

    still didn't work, time and zone shows 5:00 AM when it should be 9:00 AM

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    What is the output of your Compose action with the UTC format ON?

    formatDateTime('Your SQL Date','yyyy-MM-ddThh:mm:ssZ')

     Can you provide the value?

    Trying to understand where the problem is, SQL or SP

     

  • LearningPA23 Profile Picture
    18 on at
    Value with your recommended changeValue of Compose.png
    Value before format changeValue before change.png
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    It is definitely to do with time zone

    Can you try this?

    convertTimeZone(triggerBody()?['YourDate'],'UTC','Eastern Standard Time','yyyy-MM-dd HH:mm:ss')
  • LearningPA23 Profile Picture
    18 on at

    Now I get 1:00 AM as the time. And the null error.

     

    Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'convertTimeZone' expects its first parameter to be a string that contains the time. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#ConvertTimeZone for usage details.'.

     

    Shows 5:00 with no AM/PM but shows 1:00 AM on the sharepoint listShows 5:00 with no AM/PM but shows 1:00 AM on the sharepoint list

     

     

     

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 Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard