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 / Converting unix time s...
Power Automate
Answered

Converting unix time stamp to date and time?

(0) ShareShare
ReportReport
Posted on by 69

Hi,

Has anyone figured out a solution for this one? I need to convert a unix time stamp to UTC.

Thanks,
M

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @MarkH1 

     

    Suggestion here https://powerusers.microsoft.com/t5/Building-Flows/Got-a-recipe-for-converting-a-unix-timestamp-to-a-utc-date/td-p/137246 is to use the following:

     

    addseconds('1970-1-1', Div(timestamp,1000) , 'yyyy-MM-dd')

     

    Learn something new every day... https://en.wikipedia.org/wiki/Unix_time

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • eliotcole Profile Picture
    4,390 Moderator on at

    I know this is old, but if anyone is just copy/pasting ... then ensuring that 'timestamp' (your source) is surrounded by an int() function cannot hurt any ...

     

    However, I get more accurate results with the following (from here), @DamoBird365 ... am I going crazy?

     

    addseconds('1970-1-1', int(UNIX_TIMESTAMP) , 'yyyy-MM-dd')

     

    TBF - It probably depends on the type of UNIX timestamp. (sec/mili/micro)

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard