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 / sql update row changes...
Power Automate
Unanswered

sql update row changes utc to local timezone

(0) ShareShare
ReportReport
Posted on by 11
Please see screenshots below for details.  This is a single Update Row (V2) SQL action.  The only inputs are the id and a timestamp as a string in UTC (2025-06-09T18:11:45Z).   The action itself is for some reason converting the timestamp I'm giving it in UTC to some other local time zone of UTC-4:00.   I'm passing the Z to indicate the input is already UTC.   Even if this is intended behavior, automate should not be setting the Z on the output after converting it.  I struggle to believe this has not been noticed...  Is this a known bug?   Am I doing something wrong?  I understand I can simply add time to the input to cover the unintended offset but as I have no idea what time zone it thinks I'm in at UTC-4:00 I don't know if I need to worry about DST or not.
  
 
 
 
 
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
     
     
    See below example, 
    Datetime and Datetime2 got the value + 2 ( my time zone). I think the problem is from the gateway, since the both cannot take an offset. 
     
     
    1. all columns used utcnow(). +2 timezone
    2. Only last column used 2025-06-09T18:11:45Z. Run the flow in +2
    3. Only last  column used given value, others used utcnow(), run the flow in +8 timezone.
    4. all columns used given value. +2 timezone
    5. all columns used given value without Z. +2 timezone

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard