Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Reading date format from excel to PHP

$
0
0

I think you might need:

echo date_format(date_create_from_format('m-d-Y', $row['B']), 'Y-m-d');

Y rather than y in the date_create_from_format() method


Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>