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 Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to