Reading xls Date Values with php excel reader -
i using phpexcel read date cells in excel file have values 'mar-13' returning integer values '41791'. please, need make sure date reads in correctly?
excel stores dates serialized timestamps (number of days since 1/1/1900), can convert unix timestamp , format standard php date functions
$unix_timestamp = ($cell_value - 25569) * 86400; $phpdate = date("m-d-y", $unix_timestamp);
Comments
Post a Comment