Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Date in filename

by Russ (Deacon)
on Jul 24, 2001 at 23:58 UTC ( #99462=note: print w/replies, xml ) Need Help??


in reply to Date in filename

How about POSIX::strftime?
use POSIX; open FH, '>'.strftime('%Y%m%d', localtime) or die "Nope: $!";

Russ
Brainbench 'Most Valuable Professional' for Perl

Replies are listed 'Best First'.
Re: Re: Date in filename
by Anonymous Monk on Jul 25, 2001 at 17:05 UTC
    Thanks Russ. You rock!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-19 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?