I'm not sure how to go about passing the fnldapquery results to fndatetime()...here's my bit of code:

Code:

$aAttributes = "Name", "whenChanged"
$sADsPath = "LDAP://ou=disabled users,dc=xxxxx,dc=com"
$strFilter = "(&(objectClass=User)(Name=*))"

$aResults = fnLDAPQuery($aAttributes,$sADsPath,$strFilter,"Name")
@ERROR " | " @SERROR ?

For $c = 0 to Ubound($aResults)
For $r = 0 to UBound($aResults,2)
$aResults[$c,$r] ?
$fnDateTime($aResults[$c,$r])?
Next
?
Next



the $fnDateTime() returns the same exact values I pass to it, so I get results that look like:

Jim Smith
Jim Smith
6/27/2005 8:02:48 PM
6/27/2005 8:02:48 PM