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 / unix time to GMT in po...
Power Automate
Answered

unix time to GMT in power automate

(0) ShareShare
ReportReport
Posted on by 29

I have an API which gives output in epoch time, I have to convert this into GMT including hours, minutes and second, so far I am able to convert into a date using below expression:

 

 

addDays(formatdatetime('1970-1-1','yyyy-MM-dd'),int(div(variables('epoch'),86400)))

 

 

where epoch is variable storing epoch time.

 

I am looking output with date and time. Appreciate your help.

 

TIA

Arjun

 

Categories:
I have the same question (0)
  • Verified answer
    wqdqdqqwdwq Profile Picture
    29 on at

    figured out, here if the expression for other's help:

     

    formatDateTime(addSeconds(addDays(formatdatetime('1970-1-1','yyyy-MM-dd'),int(div(variables('epoch'),86400))),mod(variables('epoch'),86400)),'dd/MM/yyyy hh:mm tt')

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard