cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BElizabeth
New Member

Converting Survey123 Epoch Time to Readable String

This is my first flow in Power Automate and I am trying to convert a DateTime field to a readable string format (as well as convert to Pacific Standard). I have read several blogs and forums about this (see links below). My workflow is currently as follows:

 

BElizabeth_4-1612462053592.png

I have also tried addseconds('1970-1-1', Div(triggerBody()?['feature']?['attributes']?['Today_Date'],1000) , 'yyyy-MM-dd').

 

However, no matter what I do, I get the same error:

BElizabeth_3-1612461652614.png

 

Does anyone have ideas what I am doing wrong?

 

Much appreciated!

 

Resources:

https://community.esri.com/t5/arcgis-survey123-blog/managing-time-and-date-from-survey123-in-microso... 
https://community.esri.com/t5/arcgis-survey123-blog/automating-workflows-with-survey123-and-microsof... 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @BElizabeth,

 

This is due to the wrong input method of your function.
When you input an expression, you should type them on the right side where have an Expression box:
Screenshot 2021-02-05 134842.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @BElizabeth,

 

This is due to the wrong input method of your function.
When you input an expression, you should type them on the right side where have an Expression box:
Screenshot 2021-02-05 134842.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (63,911)