To: [EMAIL PROTECTED]
Subject: [PHP] accessing localtime array directly
In Perl I have done this:
$julianday=(localtime)[7];
Is there an equivalent syntax for PHP or do I just do:
$now=localtime();
$julianday=$now[7];
I don't need it - I'm just curious about the syntax.
--
Joh
In Perl I have done this:
$julianday=(localtime)[7];
Is there an equivalent syntax for PHP or do I just do:
$now=localtime();
$julianday=$now[7];
I don't need it - I'm just curious about the syntax.
--
John A. Grant * I speak only for myself * (remove 'z' to reply)
Radiation Geoph
2 matches
Mail list logo