Answer the question
In order to leave comments, you need to log in
How to import date from CSV correctly?
I am importing products from a CSV file. One of the fields for import is the date, different products have a different date format
:
2017-09-24
31/12/2017
24/05/2017
10:30:00 calendar.
It turns out to import products with only one format (what Wordpress is configured for in the admin panel), but it is necessary that the date enters the Wordpress calendar, regardless of the date format.
Tell me a ready solution or any ideas?
Answer the question
In order to leave comments, you need to log in
this is very sad
in this case you need to find all the formats encountered and convert them to a timestamp, and from there to the format required by the calendar,
where did you get this csv file from? Maybe there is an option to put things in order with the input of the date there?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question