[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Date schema



I think I might need to clarify my previous post.  If you don't care about
the time zeroing it out sets the time to 12AM, which in retrospect is a bad
idea.  A better solution is setting a default time for all entries as 1200
hours.  The reason why 12 AM is a bad idea, is if you live in a time zone
that is an hour or more behind GMT (i.e. North America, EST), when you
translated the time to your local time zone the person's birth date would be
a day early.

As far as I know there are no known time zones that are >= 12 hours ahead or
behind GMT (there are a couple of elevens though) therefore, 12 noon GMT is
the safest bet.  Sorry about the bad advice in the first post.

Dane Foster
http://www.equitytg.com
954.360.9800
----- Original Message -----
From: "Dane Foster" <dfoster@equitytg.com>
To: "Dan Melomedman" <dmelomed@devonitnet.com>; "openldap"
<openldap-software@OpenLDAP.org>
Sent: Monday, March 04, 2002 6:11 PM
Subject: Re: Date schema


> If you don't care about the time simply zero it out.
>
> Dane Foster
> http://www.equitytg.com
> 954.360.9800
> ----- Original Message -----
> From: "Dan Melomedman" <dmelomed@devonitnet.com>
> To: "openldap" <openldap-software@OpenLDAP.org>
> Sent: Monday, March 04, 2002 4:10 PM
> Subject: Date schema
>
>
> > Need pointers to date schema attribute types. I am looking through my
> books
> > and core.schema and don't see much except generalizedTime. We need to
> store
> > persons' date of births, etc which are not exact (just the date, no
time).
> > What's a common, or standard attribute type for something like this? Any
> > suggestions are much appreciated.
> >
> >
>
>