문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top