Jeff,

  Check out
  http://www.users.voicenet.com/~corr/macsupt/macperl/localtime.html

Steve

On Fri, Mar 12, 2004 at 01:38:28PM -0800, Jeff Westman wrote:
> Is there a way in perl to get the month/day/year using localtime
> WITHOUT using 'use POSIX qw(strftime)' or a system "date" call.
> 
> Something using slices, maybe.... something like:
> 
>   print scalar ((localtime(time))[4,3,7])
> 
> expecting the result to be 03122004.
> 
> Trivial question, thanks in advance.
> 
> 
> Jeff
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you?re looking for faster
> http://search.yahoo.com
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 

=============================================================
Steve Mayer                             Oracle Corporation
Project Lead                            1211 SW 5th Ave.
Portland Development Center             Suite 900
[EMAIL PROTECTED]               Portland, OR 97204 
Phone:  503-525-3127
=============================================================

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to