Adriano Ferreira wrote:
On 9/3/07, Shams Fantar <[EMAIL PROTECTED]> wrote:
Hello,
I want to give a date (the year, the day, the hour and the minute) to a
file. So, I use localtime function. But I don't understand how to use
localtime (after reading the documentation on this function). Can yo
On 9/3/07, Shams Fantar <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to give a date (the year, the day, the hour and the minute) to a
> file. So, I use localtime function. But I don't understand how to use
> localtime (after reading the documentation on this function). Can you
> help me with this
Jeff Pang wrote:
2007/9/3, Shams Fantar <[EMAIL PROTECTED]>:
Jeff Pang wrote:
try the POSIX::strftime,this use the same datetime format as shell's
date command.
perl -e '
use POSIX qw/strftime/;
print strftime("%y%m%d %H:%M",localtime); '
070903 21:51
Okay. All right.
use PO
2007/9/3, Shams Fantar <[EMAIL PROTECTED]>:
> Jeff Pang wrote:
> > try the POSIX::strftime,this use the same datetime format as shell's
> > date command.
> >
> > perl -e '
> > use POSIX qw/strftime/;
> > print strftime("%y%m%d %H:%M",localtime); '
> >
> > 070903 21:51
> >
>
> Okay. All right.
>
> u
Jeff Pang wrote:
try the POSIX::strftime,this use the same datetime format as shell's
date command.
perl -e '
use POSIX qw/strftime/;
print strftime("%y%m%d %H:%M",localtime); '
070903 21:51
Okay. All right.
use POSIX qw(strftime);
my $date1 = strftime("%y/%m/%d %H:%M",localtime);
my $FIL
try the POSIX::strftime,this use the same datetime format as shell's
date command.
perl -e '
use POSIX qw/strftime/;
print strftime("%y%m%d %H:%M",localtime); '
070903 21:51
2007/9/3, Shams Fantar <[EMAIL PROTECTED]>:
> Hello,
>
> I want to give a date (the year, the day, the hour and the minute
Hello,
I want to give a date (the year, the day, the hour and the minute) to a
file. So, I use localtime function. But I don't understand how to use
localtime (after reading the documentation on this function). Can you
help me with this function?
Next, I want to use a shell command, so I use