Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Date in filename

by Russ (Deacon)
on Jul 24, 2001 at 23:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found