import xlsx file with dates with phpmyadmin

Hi all,

I want to import data from an xlsx file containing dates (see the file attached log.xlsx) in a MySQL db.

I join a snapshot of my webserver configuration (server-config.png) .

Thanks in advance.
Richard Coffree-commerce Product ManagerAsked:
Who is Participating?
gplanaConnect With a Mentor Commented:
I would use phpMyAdmin. There is an import option in there. If xlsx files are not supported, try to open file on Excel an save it as xls or as csv.

Here is a good explanation in how to import a csv file using phpMyAdmin:

Hope it helps.
TWHARRISConnect With a Mentor Commented:
This may help:
PHPExcel (PHP Library) - Read, Write and Create Excel documents in PHP

Partial Example:
Richard Coffree-commerce Product ManagerAuthor Commented:
The problem is to import properly the date to have date fields in MySQL.

Any ideas ?
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

I think it should work if MySQL fields are date data type, and also your local configuration (on the server where MySQL database is) fits the configuration on your Excel File.

I also think this link may help:
Richard Coffree-commerce Product ManagerAuthor Commented:
I will test all the solutions tomorrow.
Then I will rank them.
No problem. Let us know if it works.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.