Re: Interesting date



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?

Thanks! I'm so very, very stupid.


Actually, before C, most languages did start counting with 1....

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: password checking
    ... PHP could then try to compare as integers instead of strings - and convert 'steven' and 'crocker' to zero. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: multiplication math not working ?
    ... for readabilty. ... When you use a string in a calculation it's numeric value is zero. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: Interesting date
    ... On Mon, 05 Feb 2007 11:09:58 GMT, Gunnar G wrote: ... you have so many to chose from! ... *** Killfiling google posts: ...
    (comp.lang.php)