home *** CD-ROM | disk | FTP | other *** search
- 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
- From: paul@dragons.DIALix.oz.au (Paul O'Neill)
- Subject: Funny thing about date() - ARexx 1.15
- Newsgroups: comp.lang.rexx
- X-Newsreader: TIN [version 1.1 PL8]
- Message-ID: <paul.04ez@dragons.DIALix.oz.au>
- Date: 26 Jan 93 20:10:14 +0800
- Organization: Private UUCP node
- Lines: 19
-
- I was recently using the date() function under ARexx 1.15 and discovered that you
- can provide a second argument being the day number since, well, somewhen.
-
- If I call date('n', daynum) I get a date string that is correct for that day.
-
- If I call date('d', daynum) I get the wierdest day of the month!!!
-
- I set up daynum to be for February 3rd and date('d', daynum) returned 35!!
-
- Is this right?
-
- Paul
-
- --
-
- Paul O'Neill paul@dragons.DIALix.oz.au _--_|\
- (ALT: paul@DIALix.oz.au) / \
- Secretary Phone: (+619) 250 7080 X_.--._/
- Amiga Developers Association of Western Australia v
-