Question

looking for a little bit of assistance for using magmi to create the column news_from_date.

I try to use the Value Replacer tool to create the column news_from_date. The value that I use is {{date(Y-m-d)}}.

However when running the import script, the wrong format of date is created (as I can see because in the backend shows the new from date as 30-11-00-1.

What is incorrect in my syntax?

Already tried {{date(Y/m/d)}} but also doesn\’t seem to work.

Thank you for you help.

Regards,

Oebel

Was it helpful?

Solution

Try using the MySQL date syntax

{{date('Y-m-d H:i:s')}}

This is what I use in Magmi and it works.

Also, don't forget the single quotes ' in the date() function.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top