Re: Date question?
Posted in 1998
M00n321 — — source: Informix-list mailing list archive (1991-1998)
>I'm not that familiar with Informix, but trying to evaluate some data >from it. I have a field that is supposed to be a date and seems to be >defined as integer. Basically, the informix 'Date' is an integer, or at least its contents and an integer can be freely exchanged. As far as converting, read it into a variable defined as date and 'display' or 'print using'. This interchangeability does not extend to 'datetime'. If you want to do it the hard way, you will probably find out that storing 0 as the date renders 1/1/1900 or something similar. In any event, since days are sequential in nature a pattern will emerge.