Strange behaviour trying to write Date to customfield using Automation Command

First thing I would sugest trying is specifying the date format.
Look in this post for date formatting;