Forum Discussion
jcook_105986
Nimbostratus
Jul 07, 2008help on "ManagementLicenseAdministration" methods
///////////////////////////////////////////////////////////////////////////////////
iControl.ManagementLicenseAdministrationEvaluationExpiration iContorlTime =
m_interfac...
Anthony_Gerace_
Jul 08, 2008Historic F5 Account
Hi JCook,
How are you handling the date conversion? The return values from get_evaluation_license_expiration method are longs and represent the number of seconds from the epoch. Here is a PERL example I used for testing.
HTH,
Anthony
$soap = SOAP::Lite
-> uri('urn:iControl:Management/LicenseAdministration')
-> proxy("https://$host/iControl/iControlPortal.cgi");
$soap_response = $soap->get_evaluation_license_expiration;
if (! $soap_response->fault ) {
$evalExp = $soap_response->result;
$expEval = $evalExp->{evaluation_expire};
$expDate = ParseDateString("epoch $expEval");
print $expDate;
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects