Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply

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
Vvelarde
Community Champion
Community Champion

@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

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@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

Perfect! Worked great, thanks so much!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.