Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert epoch time to readable time in excel [duplicate]

Tags:

excel

I have a excel sheet where in column (G) there is a timestamp but is in epoch format, how can i convert epoch time to readable time format in excel.

I have already tried =TEXT(G2,"DD/MM/YYY HH:MM:SS") but it didn't work.

like image 293
Viper Avatar asked Aug 31 '25 17:08

Viper


1 Answers

Try this:

=TEXT((G2/1000 + ("1/1/1970"-"1/1/1900"+1)*86400) / 86400,"DD/MM/YYYY HH:MM:SS")

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!