Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: suggestions for log rotater...

by Rhose (Priest)
on Nov 05, 2001 at 23:55 UTC ( #123396=note: print w/replies, xml ) Need Help??


in reply to Re: Re: suggestions for log rotater...
in thread suggestions for log rotater...

And make sure to add 1900 to the year...

use strict; use Time::localtime; my $mCurrentTime; my $mTimeStamp; $mCurrentTime = localtime; $mTimeStamp = sprintf( '%04d%02d%02d', ($mCurrentTime->year)+1900, ($mCurrentTime->mon)+1, $mCurrentTime->mday );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123396]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2019-08-19 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (141 votes). Check out past polls.

    Notices?