cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rafaelresende
Advocate I
Advocate I

Convert utcnow to Unix Timestamp

Hi guys,

 

I've been using MS Flow for several months. One new HTTP integration expects me to send the date in a unix timestamp. I've been researching and trying several things but so far I was not successfull. 

 

Is there a way to convert utcnow to timestamp using Microsoft Flow?

Regards,

Rafael

1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi @rafaelresende,

 

Microsoft Flow uses UTC format by default, it seems that there is no function can be used to convert UTC format to unix timestamp.

Please consider submitting a request on Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GabrielStJohn
Community Champion
Community Champion

Hello, @rafaelresende!

 

If you have already posted your idea to the Flow Community Ideas Forum then you need to post the URL to your idea’s thread as a reply to this thread and then "Accept as Solution" on that reply so other users may vote for your Flow Idea and identify the information easily.

 

Thank You!

 

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



SkyeEyks
New Member

There isn't a function for it but you can calculate it manually

 

div(
  sub(
    ticks(
      utcNow()
    ), 
    ticks(
      parseDateTime('1-1-1970')
    )
  ), 
  10000000
)

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,331)