function xmlrpc_date_get_xml
xmlrpc_date_get_xml($xmlrpc_date)
Converts an XML-RPC date-time object into XML.
Parameters
$xmlrpc_date: The XML-RPC date-time object.
Return value
string An XML representation of the date/time as XML.
File
- includes/xmlrpc.inc, line 527
- Drupal XML-RPC library.
Code
function xmlrpc_date_get_xml($xmlrpc_date) { return '<dateTime.iso8601>' . $xmlrpc_date->year . $xmlrpc_date->month . $xmlrpc_date->day . 'T' . $xmlrpc_date->hour . ':' . $xmlrpc_date->minute . ':' . $xmlrpc_date->second . '</dateTime.iso8601>'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!xmlrpc.inc/function/xmlrpc_date_get_xml/7.x