Time

Is used for attributes whose values represent time.

Syntax ID

#define SYN_TIME 24

LDAP Name

Generalized Time

ASN.1 ID

1.3.6.1.4.1.1466.115.121.1.24

API Data Structure

typedef nint32 Integer_T;

LDAP Format

printable string

Transfer Format

uint32   Length = 4 
uint32   Content 

Matching Rules

Remarks

For help in understanding the syntax definition template, see Reading Syntax Definitions.

In eDirectory, the time is stored as an integer. Zero equals 12:00 midnight, January 1, 1970, UTC, and the value equals the number of whole seconds since that time.

The LDAP server converts the eDirectory time to the LDAP format specified by X.208 which includes the year, month, day, hour, minute, optionally seconds, and time zone (GMT is recommended for the time zone and uses Z as its symbol). An attribute with an LDAP time syntax would have a value similar to the following:

   199412161032Z or 19941216103200Z

Two Time values are compared by comparing the Integer_T values.

Used In