home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / informix / 2502 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.1 KB

  1. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!emory!emory!not-for-mail
  2. From: yaron@ortarg.edu.ar (Yaron Zarfati)
  3. Newsgroups: comp.databases.informix
  4. Subject: help about datetime
  5. Date: 23 Nov 1992 07:28:03 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 17
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1eqiojINN82m@emory.mathcs.emory.edu>
  11. Reply-To: yaron@ortarg.edu.ar
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1634>
  14.  
  15. We are working in informix version 4 under unix, but with little previous 
  16. training.
  17.  
  18. Also our english level is good enough to understand the manuals, but the
  19. appendix that explains datetime, interval, etc. looks obscure to us.
  20.  
  21. Could somebody help us with datetime and interval variables, and the extend
  22. function ?.
  23.  
  24. For instance, if we subtract two columns or memory variables defined as 
  25. DATETIME YEAR TO MONTH, how can we get an INTERVAL result of the type yy-mm
  26. and how can we use the result, if we need INTEGER variables containing the
  27. year and the month part ?.
  28.  
  29.  We would apreciate examples, a commented piece of code, etc.
  30.  
  31. Thank you in advance.
  32.