![]() |
![]()
| ![]() |
![]()
NAMEProtocol::XMLRPC::Value::DateTime - XML-RPC array SYNOPSISmy $datetime = Protocol::XMLRPC::Value::DateTime->new(1234567890); my $datetime = Protocol::XMLRPC::Value::DateTime->parse('19980717T14:08:55'); DESCRIPTIONXML-RPC dateTime.iso8601 METHODS"new"Creates new Protocol::XMLRPC::Value::DateTime instance. Accepts unix epoch time. "parse"Parses dateTime.iso8601 string and creates a new Protocol::XMLRPC:::Value::Base64 instance. "type"Returns 'datetime'. "value"my $datetime = Protocol::XMLRPC::Value::DateTime->new(1234567890); # $datetime->value returns 20091302T23:31:30 Returns serialized Perl5 scalar. "to_string"my $datetime = Protocol::XMLRPC::Value::DateTime->new(1234567890); # $datetime->to_string is now '<dateTime.iso8601>20091302T23:31:30</dateTime.iso8601>' XML-RPC datetime string representation.
|