_brian_d_foy wrote:

> +The localtime function returns the day of the week.  Without an
> +argument localtime returns the current seconds since the epoch.
>  
> +    $day_of_year = (localtime)[7];

That second "returns" could be confusing, possibly apparently
contradicting the first one.  Replacing it with "assumes" may help.

But do epoch seconds need mentioning at all here?  Would this do:

  Without an argument localtime assumes the current time.

Smylers

Reply via email to