cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Trinaintynine
Level: Powered On

Convert TimeStamp Date to DateTime

i want to ask how do i convert timestamp into datetime.
the thing is my timestamp only contains date, which i save the data from microsoft flow

when i retrieve a data row, it only give me 5 digit of time stamp
"43728"

Capture.PNGCapture2.PNG

here is the data in excel
Capture3.PNG

i have tried using 

addseconds('1970-1-1', Div(43728,1000),'yyyy-MM-dd hh:mm:ss')

using this link as reference:
https://powerusers.microsoft.com/t5/Building-Flows/Got-a-recipe-for-converting-a-unix-timestamp-to-a...

but still won't work

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Convert TimeStamp Date to DateTime

Hi @Trinaintynine 

 

This is a known issue with the excel connector. Either you setup that formula or you can just go to the excel sheet, select the entire column and convert the type from Date to simple text. https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/10-MS-Flow-hacks-troubleshoots-wor...

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Convert TimeStamp Date to DateTime

Hi @Trinaintynine 

 

This is a known issue with the excel connector. Either you setup that formula or you can just go to the excel sheet, select the entire column and convert the type from Date to simple text. https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/10-MS-Flow-hacks-troubleshoots-wor...

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Trinaintynine
Level: Powered On

Re: Convert TimeStamp Date to DateTime

I set excel format data/column into text.
and it works fine.


@yashag2255 wrote:

Hi @Trinaintynine 

 

This is a known issue with the excel connector. Either you setup that formula or you can just go to the excel sheet, select the entire column and convert the type from Date to simple text. https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/10-MS-Flow-hacks-troubleshoots-wor...

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!


 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,797)