Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Protocol::XMLRPC::ValuUseraContributed PerProtocol::XMLRPC::Value::DateTime(3)

NAME
       Protocol::XMLRPC::Value::DateTime - XML-RPC array

SYNOPSIS
	   my $datetime	= Protocol::XMLRPC::Value::DateTime->new(1234567890);
	   my $datetime	= Protocol::XMLRPC::Value::DateTime->parse('19980717T14:08:55');

DESCRIPTION
       XML-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.

perl v5.32.1			  2012-01-Protocol::XMLRPC::Value::DateTime(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Protocol::XMLRPC::Value::DateTime&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help