Wordpress - Set post_date

admin

Administrator
Staff member
I'm trying to set the
Code:
post_date
of a blog post to Wordpress via XMLRPC.

I'm sending the data as a string:

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

'post_date'=>$pubdate,

It appears
Code:
'post_date'
is correct?

I also found this post losely related to the issue: <a href="http://wordpress.org/support/topic/330597" rel="nofollow noreferrer">http://wordpress.org/support/topic/330597</a>

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