Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > LDAP GMT date/time conversion

Reply
Thread Tools

LDAP GMT date/time conversion

 
 
bill.blackmon@austingoodwill.org
Guest
Posts: n/a
 
      12-16-2004
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.

 
Reply With Quote
 
 
 
 
Nigel Wade
Guest
Posts: n/a
 
      12-17-2004
wrote:

> 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.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail :
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
python-ldap/win32 or python/ldap/win32 rcmn Python 1 11-06-2006 11:47 PM
Need to wrtie LDAP class to *answer* LDAP queries. junk1@davidbevan.co.uk Java 1 02-21-2006 09:59 PM
ruby-ldap: uninitialized constant LDAP::LDAP_CONTROL_PAGEDRESULTS James Hughes Ruby 4 12-13-2005 11:46 PM
[ANN] Ruby/LDAP 0.9.1: LDAP API (RFC1823) library. Ian Macdonald Ruby 0 03-15-2005 11:23 PM
using LDAP Controls in ruby-ldap Jason Wold Ruby 5 11-07-2004 03:35 AM



Advertisments