convertFromLdapDateTimeValue() public static method

Converts LDAP date/time representation into a timestamp
public static convertFromLdapDateTimeValue ( string $value ) : integer | null
$value string
return integer | null - null if the value cannot be converted.
Exemplo n.º 1
0
 public function testConvertFromLdapDateTimeValueActiveDirectory()
 {
     $ldap = '20080625123030.0+0200';
     $this->assertEquals(gmmktime(10, 30, 30, 6, 25, 2008), Zend_Ldap_Attribute::convertFromLdapDateTimeValue($ldap));
 }