Wordpress - Set post_date

Posted by danit on Stack Overflow See other posts from Stack Overflow or by danit
Published on 2010-04-11T18:17:29Z Indexed on 2010/04/11 18:23 UTC
Read the original article Hit count: 269

Filed under:
|

I'm trying to set the post_date of a blog post to Wordpress via XMLRPC.

I'm sending the data as a string:

$pubdate = '2010-04-08 13:46:43';

'post_date'=>$pubdate,

It appears 'post_date' is correct?

I also found this post losely related to the issue: http://wordpress.org/support/topic/330597

Can anyone suggest how I would post the date as: dateTime.iso8601

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about php