Re: Interesting date
- From: "william.clarke" <william.clarke@xxxxxxxxx>
- Date: 6 Feb 2007 14:08:15 -0800
On Feb 6, 10:17 am, Norman Peelman <npeel...@xxxxxxxxxx> wrote:
Allodoxaphobia wrote:
On Mon, 05 Feb 2007 11:09:58 GMT, Gunnar G wrote:
Now this is just a guess, but if 'june' comes from an array starting with
zero, so that 0=january, then 4=may and 5=june, it propably should start
from 1=january and in that case 5 would actually be may... If that doesn't
help, see the whole output of getdate with print_r() and post the result
here.
How can any one start counting from something else than zero in computer
applications?
Standards are GREAT. And, you have so many to chose from!
Thanks! I'm so very, very stupid.
I don't think so. As someone who has worked his way through *A LOT* of
programming languages since 1966, "Counting from 0/1" is just _one_ of
the 'standards' I never take for granted. (And, I _still_ screw up....)
Jonesy
I seem to remember that back in the C64 days you could actually tell
the script (program) to start at 0 or 1 if you wanted. I can't remember
what that command was though...
Norm
VB6 allowed you to put the "Option Base 1" directive at the top of a
module to achieve the same result. Scary that I remember that...
.
- References:
- Interesting date
- From: Gunnar G
- Re: Interesting date
- From: Kimmo Laine
- Re: Interesting date
- From: Gunnar G
- Re: Interesting date
- From: Allodoxaphobia
- Re: Interesting date
- From: Norman Peelman
- Interesting date
- Prev by Date: Re: Reading a cookie
- Next by Date: Re: PHP charset á é à ó ú
- Previous by thread: Re: Interesting date
- Next by thread: Re: Interesting date
- Index(es):
Relevant Pages
|