home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / rexx / 1516 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!uniwa!DIALix!dragons!paul
  2. From: paul@dragons.DIALix.oz.au (Paul O'Neill)
  3. Subject: Funny thing about date() - ARexx 1.15
  4. Newsgroups: comp.lang.rexx
  5. X-Newsreader: TIN [version 1.1 PL8]
  6. Message-ID: <paul.04ez@dragons.DIALix.oz.au>
  7. Date: 26 Jan 93 20:10:14 +0800
  8. Organization: Private UUCP node
  9. Lines: 19
  10.  
  11. I was recently using the date() function under ARexx 1.15 and discovered that you
  12. can provide a second argument being the day number since, well, somewhen.
  13.  
  14. If I call date('n', daynum) I get a date string that is correct for that day.
  15.  
  16. If I call date('d', daynum) I get the wierdest day of the month!!!
  17.  
  18. I set up daynum to be for February 3rd and date('d', daynum) returned 35!!
  19.  
  20. Is this right?
  21.  
  22. Paul
  23.  
  24. --
  25.  
  26. Paul O'Neill                          paul@dragons.DIALix.oz.au     _--_|\
  27.                        (ALT: paul@DIALix.oz.au)    /      \
  28. Secretary                 Phone: (+619) 250 7080    X_.--._/
  29. Amiga Developers Association of Western Australia             v
  30.