Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2023-12-07 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (33 votes). Check out past polls.

    Notices?