home *** CD-ROM | disk | FTP | other *** search
- From: ecg00@hplvec.LVLD.HP.COM (Ed Gulczynski)
- Date: Wed, 6 Jan 1993 21:43:48 GMT
- Subject: 4GL date routine, HOW?
- Message-ID: <34450001@hplvec.LVLD.HP.COM>
- Organization: Hewlett-Packard Co., Loveland, CO
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!hplvec!ecg00
- Newsgroups: comp.databases.informix
- Lines: 18
-
- In 4gl I'm trying to calc. the number of days between 2 dates
- Here's what I've done. This doesn't work at all????
- I'd appreciate it if you could send me some working code that would
- yield p_diff as a valid integer value.
-
-
- .
- .
- GLOBALS
- p_diff INTEGER
- END GLOBALS
- .
- .
-
- LET p_diff = TODAY - 60 UNITS DAY
- DISPLAY "diff=",
- p_diff
-
-