I am trying to set a field of
date type through usage of
entity_metadata_wrapper but the although the field is created as datetime in mysql, and creating a node sets it with expected YYY-MM-DD HH:MM:SS format, when using
entity_metadata_wrapper it fails. The only thing I have managed to insert is timestamps, I have tried both Iso date format and the standard one.
Here is the line I am trying to use to update:
// sets reminder date in db $wrapper->field_event_reminder_date->set($reminder_date->format("Y-m-d H:i:s"));