cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ModernAchilles Regular Visitor
Regular Visitor

Change to a Date with 10 integer format

Hi,

 

I am having a hard time changing this 10 integer timestamp to a date format in Power Query. When I try and format differently with the drop downs it gives me an error.

 

I believe the database is returning a Unix 32-bit integer timestamp. If anyone know how I can convert this to a date that would be great!

 

Date.PNG

 

Thanks so much!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Vvelarde Super Contributor
Super Contributor

Re: Change to a Date with 10 integer format

@ModernAchilles

 

Hi, looking in this link: 

 

https://social.technet.microsoft.com/Forums/en-US/7a141fa1-4b2f-42ce-8e54-b90be781074e/calculating-d...

 

Create a Customcolumn :

 

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, 0, 0, [datetime])

 

Regards

 




Lima - Peru
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
Vvelarde Super Contributor
Super Contributor

Re: Change to a Date with 10 integer format

@ModernAchilles

 

Hi, looking in this link: 

 

https://social.technet.microsoft.com/Forums/en-US/7a141fa1-4b2f-42ce-8e54-b90be781074e/calculating-d...

 

Create a Customcolumn :

 

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, 0, 0, [datetime])

 

Regards

 




Lima - Peru
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

Highlighted
ModernAchilles Regular Visitor
Regular Visitor

Re: Change to a Date with 10 integer format

Perfect! Worked great, thanks so much!

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 355 members 3,298 guests
Please welcome our newest community members: