Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Partha Dutta — — source: Informix-list mailing list archive (1991-1998)
rnatesan@bactc.com (Ramki Natesan) wrote:
>Hi,
> Is there any I4GL function to subtract one value (DATE) from another
> value of data type "DATE"?
> Could some help here??
>thanks,
>//ramki
Yes. Declare another variable of type DATE, and perform the
subtraction like subtracting two numbers. A DATE variable is just an
INTEGER in disguise. You can perform any arithmetic operation on
them.
Partha Dutta
pdutta@airmail.net OR pdutta@vsol.com
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.