|
Posted by william.clarke on 02/06/07 22:08
On Feb 6, 10:17 am, Norman Peelman <npeel...@cfl.rr.com> 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...
Navigation:
[Reply to this message]
|