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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.