I'm trying to set the publish_on and/or unpublish_on values programmaticaly during the import of data out of a csv file.
I tried to set the (un)publish_on value in to ways
unpublish_on['date'] = '2012-12-31';
unpublish_on['time'] = '23:59:59';
unpublish_on = 1388530799;
but both didn't work.
Can someone tell me a working way to set the values in a php script?
Thanks a lot.