Unix Technical Forum

Re: date issue (one day more)

This is a discussion on Re: date issue (one day more) within the Informix forums, part of the Database Server Software category; --> Having read all of these emails I am clear that, to paraphrase the song "there is nothing like a ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:52 PM
malcolm.iiug@btopenworld.com
 
Posts: n/a
Default Re: date issue (one day more)


Having read all of these emails I am clear that, to paraphrase the song
"there is nothing like a date,
nothing in the world,
there is nothing you can name
that is anything like a date"

And then of course there is Microsoft.

But does anybody remember HyperScript? That has some interesting problems with dates as well. And then of course there is the well known Informix DBDATE bug where we couldn't query dates in UK even if we set DBDATE=dmy4/.

I don't think that Informix can point the finger at others when they can't always get it right themselves and have only learnt quite recently that other parts of the world use different date conventions.

And as fot DATETIME - the computer industry can't resolve the problems with dates. Whats wrong with star date 35721.45623

regards

Malcolm (very bored today folks:-0)

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 08:52 PM
Jonathan Leffler
 
Posts: n/a
Default Re: date issue (one day more)

malcolm.iiug@btopenworld.com wrote:

> Having read all of these emails I am clear that, to paraphrase the song
> "there is nothing like a date,
> nothing in the world,
> there is nothing you can name
> that is anything like a date"
>
> And then of course there is Microsoft.
>
> But does anybody remember HyperScript? That has some interesting
> problems with dates as well. And then of course there is the well
> known Informix DBDATE bug where we couldn't query dates in UK even
> if we set DBDATE=dmy4/.


I never used Hyperscript seriously. The DBDATE bug to which you refer
was in I4GL, not the servers, and was fixed a long time ago - 8 years
or more ago.

> I don't think that Informix can point the finger at others when
> they can't always get it right themselves and have only learnt
> quite recently that other parts of the world use different date
> conventions.


DBDATE was introduced circa 1986, with ISQL 1.10. How much longer ago
do you take it to be before it is not 'quite recently' that Informix
took various date formats for granted.

> And as fot DATETIME - the computer industry can't resolve the
> problems with dates. Whats wrong with star date 35721.45623


What's your specific beef about DATETIME? Apart from the fact that it
isn't spelled TIME, TIME(n), TIMESTAMP, TIMESTAMP(n), optionally with
a WITH TIME ZONE clause? Yes, the DATETIME() YEAR TO SECOND
constructors are more complex than average -- the standard SQL is with
TIMESTAMP is simpler. The need to repeat yourself in INTERVAL DAY(6)
TO DAY is irksome. But it stores dates reliably, and calculates
reliably, so you must have some specific problem in mind?

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com