LDAP GMT date/time conversion

Discussion in 'Java' started by bill.blackmon@austingoodwill.org, Dec 16, 2004.

  1. Guest

    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.
    , Dec 16, 2004
    #1
    1. Advertising

  2. Nigel Wade Guest

    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
    Nigel Wade, Dec 17, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shaiboy_UK
    Replies:
    0
    Views:
    470
    Shaiboy_UK
    Oct 19, 2003
  2. Peter Rilling
    Replies:
    0
    Views:
    374
    Peter Rilling
    May 4, 2004
  3. Tharinda
    Replies:
    3
    Views:
    1,200
    peter koch
    Aug 25, 2010
  4. Shaiboy_UK

    Time/Date format and changing time to GMT

    Shaiboy_UK, Oct 19, 2003, in forum: ASP General
    Replies:
    1
    Views:
    176
    Bob Barrows
    Oct 19, 2003
  5. David Joseph Bonnici
    Replies:
    1
    Views:
    204
    Gunnar Hjalmarsson
    May 15, 2005
Loading...

Share This Page