Rob Dixon wrote:
>
> Ronald Yacketta wrote:
> >
> > use POSIX;
> >
> > $TODAY = strftime("%d%m%Y", localtime());
> >
> > print $TODAY;
> >
> > 13062003
>
> That's a good way to do it, but the POSIX module is /huge/. If
> this is all you want of it then the following is more concise
ixon
To: [EMAIL PROTECTED]
Sent: 6/13/03 12:58 PM
Subject: Re: How to get ddmm format.
Ronald Yacketta wrote:
> From: Praful Bajaria [mailto:[EMAIL PROTECTED]
> >
> >
> > All,
> >
> > How would I get ddmm format of time in a variable.
> > Once I get this
Ronald Yacketta wrote:
> From: Praful Bajaria [mailto:[EMAIL PROTECTED]
> >
> >
> > All,
> >
> > How would I get ddmm format of time in a variable.
> > Once I get this format (value in variable),I would
> > like to append to a file.
> >
> > $currtime = time();
> > @currtime = gmtime($currtime);
Praful Bajaria wrote:
>
> All,
Hello,
> How would I get ddmm format of time in a variable.
> Once I get this format (value in variable),I would
> like to append to a file.
>
> $currtime = time();
> @currtime = gmtime($currtime);
> print " @currtime \n ";
>
> but the above code doen't give
Ron,
Thanks a lot for your quick help. I really appreciat
it.
Thanks
Praful
--- "Yacketta, Ronald" <[EMAIL PROTECTED]>
wrote:
> use Time::Local;
> use POSIX;
>
> $TODAY = strftime("%d%m%Y",
> localtime());
>
> print $TODAY;
>
> 13062003
>
>
> -Original Message-
> From
use Time::Local;
use POSIX;
$TODAY = strftime("%d%m%Y", localtime());
print $TODAY;
13062003
-Original Message-
From: Praful Bajaria [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:02
To: [EMAIL PROTECTED]
Subject: How to get ddmm format.
All,
How would