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 / Survey123 datetime fie...
Power Automate
Answered

Survey123 datetime field is not properly transferred to excel sheet by powerautomate flow

(0) ShareShare
ReportReport
Posted on by 11
 

I am using survey123 to collect water sample data but once the flow is successful date and time field in excel are just some random numbers. I need help on this issue. I appreciate your input

karyal_0-1649948423194.png

 

karyal_1-1649948423199.png

 

karyal_2-1649948423210.png

 

 

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @karyal 

    Hey there.  So it looks like Survey123 is storing the date as a number of milliseconds since 1/1/1970.  Weird, right?

     

    To account for this, try inserting a Compose step above your excel step with the following expression:

    addSeconds('1970-01-01', div(<DATEFIELD>, 1000))

     

    where <DATEFIELD> is the dynamic value from your survey.

     

    Hope that helps, please keep us posted.

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @karyal ,

     

    Have a good day . Has the issue been resolved?

     

    Best Regards,

    Wearsky

  • Verified answer
    karyal Profile Picture
    11 on at

    That did not solve the problem yet.

    However, I tweaked the excel itsself with formula creating another field and applied calculation  "=F11/86400000+DATE(1970,1,1)-"06:00"' 

     

    karyal_0-1650386932420.png

    karyal_1-1650387060120.png

     

     

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard