This is a long overdue answer, but there are full examples for the new version of podio-php at: http://podio.github.io/podio-php/fields/#date-field
Error when setting date field
I'm trying to set the value for a date field, using the PHP client library. Here is the code I'm using as an example:
$item->field('check-in')->set_value(array('start_date' => '2014-02-03'));
However when I try save the item I get the error "A value is required for either 'start' or 'start_date'". Can anyone please let me know what is wrong with my code?
Please sign in to leave a comment.
The mentioned URL of github not working. Could anybody help me out to set value for date field using podio api??
Thanks in advance.