LDAP GMT date/time conversion

B

bill.blackmon

I have an LDAP date/time entry that I need to convert to a readable
format for display. The format of the date in LDAP is supposed to be
GMT. An actual date entry in LDAP is: 20041216174159Z . The only field
that is off is the hour field ('17' when the actual hour in local time
was 09 (a.m.) ) - all of the other fields are correct. I've looked
through Novell and Suns sites for a solution to this but have come up
empty handed. Any pointers would be appreciated.
 
N

Nigel Wade

I have an LDAP date/time entry that I need to convert to a readable
format for display. The format of the date in LDAP is supposed to be
GMT. An actual date entry in LDAP is: 20041216174159Z . The only field
that is off is the hour field ('17' when the actual hour in local time
was 09 (a.m.) ) - all of the other fields are correct. I've looked
through Novell and Suns sites for a solution to this but have come up
empty handed. Any pointers would be appreciated.

Given that your timezone is -8:00 (from your posting headers) that would
appear to be perfectly correct. When your local time is 9am, it is 17UTC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,585
Members
45,080
Latest member
mikkipirss

Latest Threads

Top