Huh?  What do you want it to be?

On 7/21/05, Dave Adams <[EMAIL PROTECTED]> wrote:
> I want to create a variable, to be used for other stuff, using today's date.
> 
> Can anyone help me with the second last line?
> 
> use Time::localtime;
> my $tm = localtime;
> printf("The current date is
> %04d%02d%02d\n",$tm->year+1900,($tm->mon)+1, $tm->mday);
> my $currentdate = ??????
> print ($currentdate);
> 
> 
> HSCH (Hope Someone Can Help)
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 


-- 

Dave
All us base are belong to you.

--
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