Re: GDA_Date??
- From: Vivien <malerba linuxave net>
- To: gnome-db-list gnome org
- Subject: Re: GDA_Date??
- Date: Wed, 5 Apr 2000 20:44:52 +0200
Le mer, 05 avr 2000, Rodrigo Moya a écrit :
> Chris Wiegand wrote:
>
> > At 11:16 AM 4/5/00 +0200, Rodrigo Moya wrote:
> > >Chris Wiegand wrote:
> > >
> > >> I'm fixing up some stuff in the MySQL server as far as date/time handling,
> > >> however, I can't seem to figure out what GDA_Date is...it appears to be a
> > >> long value, however, it isn't documented what that is (ie. GDA_Date ?=
> > >> seconds since epoch, GDA_Date ?= seconds since 1900?). I figured other the
> > >> others, they're pretty straightforward. :)
> > >>
> > >
> > >It is a long value, but its contents are not yet specified. This is one of
> > >the values that is missing, so what suggestions you've got for this type?
> > >What should it contain?
> >
> > Hmm....I'm thinking a long value of the seconds since 1/1/70 12:00 UTC
> > (aka. the time_t thing, although that might be the struct, it's been a
> > month since I've used it...) That is a pretty standard time-like variable
> > used in programming, and is easier for programs to work with than a string
> > (there are date/time functions in, hm.. stdlib.h or unistd.h or time.h, I
> > think).
>
> I vote as well for time_t-like values. Vivien? Stephan? Nick?
Yep! I do agree with this. I'll update Postgres the week after next week when
I'm back to work.
(BTW I'm at the moment only looking one a day at most
at my mail, so I might be a little bit out of date!)
Cheers!
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]