Re: Interesting date
- From: Norman Peelman <npeelman@xxxxxxxxxx>
- Date: Mon, 05 Feb 2007 19:17:42 -0500
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
.
- Follow-Ups:
- Re: Interesting date
- From: william.clarke
- Re: Interesting date
- References:
- Interesting date
- From: Gunnar G
- Re: Interesting date
- From: Kimmo Laine
- Re: Interesting date
- From: Gunnar G
- Re: Interesting date
- From: Allodoxaphobia
- Interesting date
- Prev by Date: Re: Confirmation via email
- Next by Date: Re: _GET['name'] truncates
- Previous by thread: Re: Interesting date
- Next by thread: Re: Interesting date
- Index(es):
Relevant Pages
|