SOLVED

Covert Milliseconds to Date/Time in excel

Copper Contributor

How do I convert milliseconds (e.g. 1613808000000) to Date/Time format?

Thanks in advance

3 Replies
best response confirmed by BMur2025 (Copper Contributor)
Solution

@BMur2025 

Is this a Unix timestamp? If so, with such a value in A1, enter the following formula in B1:

 

=A1/86400000+25569

 

and format B1 as a date+time.

 

S0345.png

Perfect, thank you.

@Hans Vogelaar 

Thank you for posting this! I kept getting an error... it looks like I lost a couple decimal places somewhere along the line. It's working, it's working! :happyface:

1 best response

Accepted Solutions
best response confirmed by BMur2025 (Copper Contributor)
Solution

@BMur2025 

Is this a Unix timestamp? If so, with such a value in A1, enter the following formula in B1:

 

=A1/86400000+25569

 

and format B1 as a date+time.

 

S0345.png

View solution in original post