in reply to Date in filename
The time function returns the UNIX time in seconds since the epoch. Using this method also prevents spaces from being in the filename that would be there if you used localtime.$file = time() . "whatever.ext";
Might want to take a look at perlfunc.
Amel - f.k.a. - kel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Date in filename
by alfie (Pilgrim) on Jul 25, 2001 at 17:19 UTC | |
|
Re: Re: Date in filename
by Anonymous Monk on Jul 25, 2001 at 17:06 UTC |