cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michowl
Microsoft
Microsoft

Flow Button generates inconsistent date (UTC) vs timestamp (local time)

I'm trying to use some of the parameters from the Flow Button, but I've noticed that the datetime values it generates are inconsistent:

 

key-button-timestamp shows me current timezone time

key-button-date shows me UTC date.

 

Is this behavior intentional?

 

Flow-button-date-utc.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Nimrodg
Microsoft
Microsoft

Hi @michowl,

 

The behavior you observed is by design. The initial idea was to have the date in UTC to get a unifor representation. However, we are now considering changing that to avoid cunfusion.

 

Thanks for your input,

-nimrod

View solution in original post

5 REPLIES 5
v-monli-msft
Community Support
Community Support

Hi Michowl,

 

We have successfully reproduced this issue. I have submitted this to the product team. They will have a look into this.

 

Thanks for reporting.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
michowl
Microsoft
Microsoft

I'm also unable to extract the timezone information from the timestamp, even though it's local time.

formatDate(triggerBody()['timestamp'],'zzzzzz') returns +00:00 when it should be -08:00

Nimrodg
Microsoft
Microsoft

Hi @michowl,

 

The behavior you observed is by design. The initial idea was to have the date in UTC to get a unifor representation. However, we are now considering changing that to avoid cunfusion.

 

Thanks for your input,

-nimrod

medasbabu
Frequent Visitor

Even I'm facing same issue, dates show is UTC, where as what I want is local time.

Anonymous
Not applicable

I'm also having the same issue.

 

My Flow works this way:

1. Trigger from button

2. Get timestamp and inset timestamp into Excel row

 

Inputs: 2017-04-19T13:57:07+10:00

Output: 2017-04-19T03:57:07Z

 

 

The correct time should be the input value (13:57)

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,264)