s.prema@yahoo.com Posted April 2, 2010 Share Posted April 2, 2010 Hello, I need to export mysql tables from php into xls All r working fine. But the field with the datatype 'date' is not exported properly. In xls cell it is displayed as ######## What went wrong?? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/197338-export-mysql-date-coloum-in-php/ Share on other sites More sharing options...
oni-kun Posted April 16, 2010 Share Posted April 16, 2010 Hello, I need to export mysql tables from php into xls All r working fine. But the field with the datatype 'date' is not exported properly. In xls cell it is displayed as ######## What went wrong?? Thanks in advance. Excel cannot parse the date as it is in an incorrect format, most likely the encoding of the type is incorrect. Try to export in xls compatibility mode to preserve it. Quote Link to comment https://forums.phpfreaks.com/topic/197338-export-mysql-date-coloum-in-php/#findComment-1042847 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.