accessing localtime array directly

From: Date: Fri, 05 Oct 2001 21:21:55 +0000
Subject: accessing localtime array directly
Groups: php.general 
Request: Send a blank email to php-general+get-70143@lists.php.net to get a copy of this message
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

« previous php.general (#70143) next »