Convert numeric data into date

-1

I would like to know if you have how to convert a scientific Excel number with PHP. The number is this "43067" would like to make it into a date.

    
asked by anonymous 04.12.2017 / 12:07

1 answer

0

Try to do this:

<?php
    echo date('d/m/Y', strtotime('1900-01-01 +43067 days')); // Saída: 30/11/2017
    
04.12.2017 / 13:00