function xmlrpc_date_get_xml in Drupal 6
Same name and namespace in other branches
- 4 includes/xmlrpc.inc \xmlrpc_date_get_xml()
- 5 includes/xmlrpc.inc \xmlrpc_date_get_xml()
- 7 includes/xmlrpc.inc \xmlrpc_date_get_xml()
1 call to xmlrpc_date_get_xml()
- xmlrpc_value_get_xml in includes/
xmlrpc.inc - Generate XML representing the given value.
File
- includes/
xmlrpc.inc, line 435 - Drupal XML-RPC library. Based on the IXR - The Incutio XML-RPC Library - (c) Incutio Ltd 2002-2005 Version 1.7 (beta) - Simon Willison, 23rd May 2005 Site: http://scripts.incutio.com/xmlrpc/ Manual: http://scripts.incutio.com/xmlrpc/manual.php This…
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>';
}