James Kelty wrote:
> 
> Can someone point me to the perldoc's that can help me get the localtime
> equivalent of the shell command /bin/date +'%Y%m%d' ?
> 
> Thanks!
> 
> -James
> 
> James Kelty
> Sr. Unix Systems Administrator
> Everbase Systems
> 541.488.0801
> [EMAIL PROTECTED]
> 
use Time::localtime;
$today=localtime->mday();
$year=localtime->year()+1900;
$month=localtime->mon()+1;

-- 
-----------!
My blessing!
Ramis.     !
-----------!

http://www.samtan.fromru.com
mailto: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to