eserial(6, 0, 0)
>
> any reply is really appreciated.
Windows has more than one time format, so it could get complicated if you
plan on doing anything wild with it.
file time is a dbl-word (64 bit) in 100-nanosecond intvls since Jan 1,
1601
system time is array of (YR
Hi
Have you tried Date::Calc module, which I use for all my date and time
calculations? It's pretty comprehensive.
Eric Robertson
_
From: activeperl-boun...@listserv.activestate.com
[mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Xiao Yafeng
Sen
Hi,
Is there a way to create a date type of vbs in perl?
for example,
how can I translate below vbs statement into perlish
one?
date_from = DateSerial(2011,03, 23) + timeserial(6, 0, 0)
any reply is really appreciated.
_
I've used vbconverter to translate now function into perl:
package VBS;
use strict;
use Win32::OLE::NLS qw(:TIME
:DATE
GetLocaleInfo GetUserDefaultLCID
LOCALE_SMONTHNAME1 LOCALE_SABBREVMONTHNAME1
LOCALE_SDAYNAME1 LOCALE_SABBREVDAY
On 9/19/2010 7:48 AM, Ludwig, Michael wrote:
>> Could you tell me how create a time object of VBS in perl? Below
>> statement define a starting time and pass it to the getdata function
>> to get data in VBS:
>>
>> start_time = DateSerial( 2003, 01, 31) + Time
>Could you tell me how create a time object of VBS in perl? Below
> statement define a starting time and pass it to the getdata function
> to get data in VBS:
>
> start_time = DateSerial( 2003, 01, 31) + TimeSerial( 6, 0, 0)
> data_array = lpd.getdata(id, start_time)
>
&
On 9/18/2010 11:39 PM, Xiao Yafeng wrote:
>
> start_time = DateSerial( 2003, 01, 31) + TimeSerial( 6, 0, 0)
> data_array = lpd.getdata(id, start_time)
I think VB uses a different time format than most Windoze system times.
See if these help:
http://msdn.microsoft.com/en-us/library/3ea
Hi,
Could you tell me how create a time object of VBS in perl? Below
statement define a starting time and pass it to the getdata function to get
data in VBS:
start_time = DateSerial( 2003, 01, 31) + TimeSerial( 6, 0, 0)
data_array = lpd.getdata(id, start_time)
But I don't know h
I think maybe this is what you want...
Use Math::BigInt;
# Convert Microsoft's FILETIME variant into standard Epoch time
de like
below, I get what looks like a reference to a scalar, but the
dereferenced variable doesn't have anything that I would call useful.
OLE & references are definitely my weak point, but I just don't know how
to get anything that I could feed to Date::Time, Date::Calc, Time::Loca
Deans, Glenn (IT Solutions US) wrote:
> Can anyone give me some direction for handling the UTC Coded time? I
> think I'm just missing something obvious, but I just can't get this into
> a useable format for doing any kind of date math.
I know nothing of ADO, but given an epoch
DateTime.pm
Deans, Glenn (IT Solutions US) wrote:
> Can anyone give me some direction for handling the UTC Coded time? I
> think I'm just missing something obvious, but I just can't get this into
> a useable format for doing any kind of date math.
>
> ...
Can anyone give me some direction for handling the UTC Coded time? I
think I'm just missing something obvious, but I just can't get this into
a useable format for doing any kind of date math.
Kind regards
Glenn Deans
Architect
Siemens IT Sol
tes from last year come out as 1/9/2009 2:22:05 AM. I'm
not sure what I'm doing wrong, but maybe someone could point it out to
me? Then once that is corrected, how can you easily tell if it's > 90
days since it doesn't seem to be an epoch time?
.
Justin Allegakoen wrote:
>> 2008/12/4 Foo JH <[EMAIL PROTECTED]>
>> > The recent discussion on a date-time module leaves me wondering:
>> > Given that time() only works up to year 2023, is there a successor
>> > module which can go beyond 2023, and earlie
2008/12/4 Foo JH <[EMAIL PROTECTED]>
> Hi all,
>
> The recent discussion on a date-time module leaves me wondering:
>
> Given that time() only works up to year 2023, is there a successor
> module which can go beyond 2023, and earlier than 1900?
>
> What will be t
Hi all,
The recent discussion on a date-time module leaves me wondering:
Given that time() only works up to year 2023, is there a successor
module which can go beyond 2023, and earlier than 1900?
What will be the code implication to support this new module
Bilashi Sahu wrote:
> Hi,
> I am trying to convert UTC (In seconds) time to local Time.
> I will appreciate if anybody has some hints to do this.
> I have code like this, it does not work properly
> Here cds_date is in UTC seconds and $cmpn_date is in local time
> Just compar
use DateTime;
use DateTime::Format::HTTP;
???
-Mike
Bilashi Sahu wrote:
> Hi,
> I am trying to convert UTC (In seconds) time to local Time.
> I will appreciate if anybody has some hints to do this.
> I have code like this, it does not work properly
> Here cds_date is in
Hi,
I am trying to convert UTC (In seconds) time to local Time.
I will appreciate if anybody has some hints to do this.
I have code like this, it does not work properly
Here cds_date is in UTC seconds and $cmpn_date is in local time
Just comparing if both of the same
Thanks,
Bilashi
#check
Prompted by a bug report regarding the new DST rules I had a closer look
how localtime() determines Daylight Saving Time on Windows. This
information is not really specific to Perl but applies to all Windows
applications that use either the MSVCRT runtime library, or the Win32
API to determine DST
I've always wondered why Unix doesn't have a file creation time...
$Bill Luebkert wrote:
> Brian Raven wrote:
>
>> That seems like quite a good description, without getting into the
>> implementation details of a *nix file system. Can you cite the source
>> fo
Brian Raven wrote:
> That seems like quite a good description, without getting into the
> implementation details of a *nix file system. Can you cite the source
> for your quote, or would you have to kill all of the list subscribers
> :-) ?
Google is my friend: http://www.delorie.com/gnu/docs/text
$Bill Luebkert <> wrote:
> [EMAIL PROTECTED] wrote:
>
>>
>> Gurus,
>>
>> Is there any way to get the creation time of a file? I looked at -C
>> and the ctime returned by a stat() call, but those both give the
>> file's "inode change t
[EMAIL PROTECTED] wrote:
>
> Gurus,
>
> Is there any way to get the creation time of a file? I looked at -C and
> the ctime returned by a stat() call, but those both give the file's
> "inode change time," whatever that means. Second question: what *does*
&
Gurus,
Is there any way to get the creation time of a file? I looked at -C and
the ctime returned by a stat() call, but those both give the file's "inode
change time," whatever that means. Second question: what *does* that
mean? The camel doesn't say.
TIA
Deane
Time vs. DST/CST
Gurus,
I'm not sure if this is the right forum for this, but, nothing ventured,
etc. I've got a little question that's come up here at work: is Epoch
Time (epoch seconds) affected by the spring and autumn DST changes?
TIA,
De
Gurus,
I'm not sure if this is the right forum for this, but, nothing ventured, etc. I've got a little question that's come up here at work: is Epoch Time (epoch seconds) affected by the spring and autumn DST changes?
TIA,
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-9
[EMAIL PROTECTED] wrote on 09/28/2006 08:41:39
AM:
> I have used benchmark module that comes with
> ActiveStates perl interpreter.It gives the time
> required to execute for a module.
> I feel that will be of great use to you.
>
> Apart from that you can use the function
ly do anything to help you track down what
parts of your program are taking all the time. That's "profiling".
If your code is reasonably modular, you should use the Devel::DProf
module. Even if it isn't, that's a good place to start. You run your
program as:
perl
Rishi,
I have used benchmark module that comes with
ActiveStates perl interpreter.It gives the time
required to execute for a module.
I feel that will be of great use to you.
The functions are easy to use and help provided for
the same is very good.
The module is basically for performance
Subject: How to find which part of the code is taking much time in execution in a big perl file
HI,
I am in urgent need of optimising the a perl script which is able to handle to 1000 request in one min and the requirement is to handle 5000 requests in one minute.
> I am in urgent need of optimising the a perl script which is able to
handle
> to 1000 request in one min and the requirement is to handle 5000
requests
> in one minute.
There is a module called "Benchmark", which I believe is included in
ActiveState Perl. From a command prompt type "perldo
To: activeperl@listserv.ActiveState.com
Subject: How to find which part of the code is taking much time in
executionin a big perl file
HI,
I am in urgent need of optimising the a perl script which is able to
handle to 1000 request in one min and the requirement is to handle 5000
requests in one
ppm search benchmark
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, September 27,
2006 8:14 AM
To:
activeperl@listserv.ActiveState.com
Subject: How to find which part of
the code is taking much time in execution in a big
time, or any idea how should I start on this issue.
Any help/idea is
welcome.
Thanks
Rishi
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or
ow the command takes? I want to cancel the command if it takes over
> a certain amount of time.
Forgot to mention that using backticks will cause the program to wait
for the command to finish, so either use Win32::Job as suggested or
Win32::Process::Create to start the command in the
ow the command takes? I want to cancel the command if it takes over
> a certain amount of time.
The Win32LLJob module seems to do what you want as previously mentioned.
You can also time it yourself using use Time::HiRes or Win32::GetTickCount.
EG:
use strict;
use warnings;
use Time::HiRes
Wong, Danny H. wrote at 7/6/2006 6:22 PM:
>The problem is the command might get stuck and I'm waiting hours for the
>command to finish which prevents other process to backlog as well. How
>can I determine, say if the command doesn't finished within 20
>minutes, cancel the command and report the e
k
too long.
-Original Message-
From: Christopher Hahn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 2:23 PM
To: Wong, Danny H.; activeperl@listserv.activestate.com
Subject: RE: Find time it takes to run a command
Just save the time() before and after and then turn the difference from
@listserv.activestate.com
Subject: Find time it takes to run a command
Hi Perl GURUS,
Is there a module or a way to find out how long a command takes
to finish?
Example:
my output = `do sync $Project 2>&1`;
The program might hang for over 20 minutes. Is there a easy way to find
es over
a certain amount of time.
Thanks!
- - - - - Appended by Scientific Atlanta, a Cisco company - - - - -
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is
solely intended for th
Biplab Roy <> wrote:
> Hi All,
>
>
>
> I need a help to plot a graph using Tk in real time, assume we are
> generating the values continuously in a loop, the graph needs to be
> plotted with those values in real time. I have taken two approaches
> but it able to
Hi All,
I need a help to plot a graph using Tk in real time, assume we are
generating the values continuously in a loop, the graph needs to be plotted
with those values in real time. I have taken two approaches but it able to
make it out:
1. Common Variable Method
1. First you can
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED] Sent: 19 May 2006 17:11 To: Wayne
Simmons Cc: activeperl@listserv.ActiveState.com
Subject: RE: No-brainer, pressed for time
> Wayne,
>
> I overstated the simplicity. Each list is divided into parts, viz.
> @list1 = qw( artist awful billy blunder)
> @list2 = qw( attitude blatherskite)
>
> # something magical happens, and the contents of @list1 are now
> # 'artist', 'attitude', 'awful', 'billy', 'blatherskite', 'blunder'
@list1 = sort @list1, @list2;
--
Eric Amick
Columbia, MD
__
>
> @list1 = qw( artist awful billy blunder)
> @list2 = qw( attitude blatherskite)
>
> # something magical happens, and the contents of @list1
are now
> # 'artist', 'attitude', 'awful', 'billy', 'blatherskite',
'blunder'
>
> If the lists aren't too large, here's what I'd do:
>
[EMAIL PROTECTED] wrote:
: Wizards,
:
: I know this is a no-brainer, but like I said...
:
: I'm sure there's something somewhere that will handle merging
: a sorted list of text into a larger sorted list of text, I'm
: just having a case of the lazy-thumbs today. Anybody care to
: point me in the
> @list1 = qw( artist awful billy blunder)
> @list2 = qw( attitude blatherskite)
>
> # something magical happens, and the contents of @list1 are now
> # 'artist', 'attitude', 'awful', 'billy', 'blatherskite', 'blunder'
@list1 = qw[ artist awful billy blunder ];
@list2 = qw[ attitude blatherski
@list1 = sort(@list1,@list2) seems to do what you want to do.
On 5/19/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Wizards,
I know this is a no-brainer, but like I said...
I'm sure there's something somewhere that will handle merging a sorted list
of text into a larger sorted list of text
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 19 May 2006 16:10
To: activeperl@listserv.ActiveState.com
Subject: No-brainer, pressed for time
> Wizards,
>
> I know this is a no-brainer, but like I said...
>
> I'm sure there's
ot;'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: RE: No-brainer, pressed for time
@list1 = qw( artist awful billy blunder)
@list2 = qw( attitude blatherskite)
# something magical happens, and the contents of @list1 are now
# &
@list1 = qw( artist awful billy blunder)
@list2 = qw( attitude blatherskite)
# something magical happens, and the contents of @list1 are now
# 'artist', 'attitude', 'awful', 'billy', 'blatherskite', 'blunder'
If the lists aren't too large, here's what I'd do:
@list1 = (@list1, @
[EMAIL PROTECTED] wrote:
> Wizards,
>
> I know this is a no-brainer, but like I said...
>
> I'm sure there's something somewhere that will handle merging a
> sorted list of text into a larger sorted list of text, I'm just
> having a case of the lazy-thumbs today. Anybody care to point me in
> the
Magic:
@list1=sort (@list1,@list2);
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Wizards,
I know this is a no-brainer, but like I said...
I'm sure there's something somewhere that will handle merging a sorted list
of text into a larger sorted list of text, I'm just having a ca
Wizards,
I know this is a no-brainer, but like I said...
I'm sure there's something somewhere that will handle merging a sorted list of text into a larger sorted list of text, I'm just having a case of the lazy-thumbs today. Anybody care to point me in the right direction? Here's what I'm tryi
Zoly wrote:
Hi Folks,
In my short primitive code I used 'Time::HiRes' that worked for me
pretty good on my old P4-2.4GHz machine with XP-pro for long.
Sample:
(Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday
tv_interval);
I had to replace my PC and the platform now is
there is a problem, my code exits with this error
> > message below. Time::HiRes::ualarm(): unimplemented in this
> > platform at
> > C:\Perl\time.pl line 3
>
> Hi there,
>
> Most likely its the fact the code for that module was built for a
> older type of syste
Zoly wrote:
Hi Folks,
In my short primitive code I used 'Time::HiRes' that worked for me
pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample:
(Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday
tv_interval);
I had to replace my PC and the platform now is a &
Quoting Zoly <[EMAIL PROTECTED]>:
I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2 Dual Core
3800+' that made my applications "flying" compared to the earlier one, but
there is a problem, my code exits with this error message below.
Zoly wrote:
>
> Hi Folks,
>
> In my short primitive code I used 'Time::HiRes' that worked for me
> pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample:
> (Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday
> tv_interval);
>
> I had
Hi Folks,In my short primitive code I used 'Time::HiRes' that
worked for me pretty good on my old P4-2.4GHz machine with XP-pro for
long.Sample:(Line 3)-> use Time::HiRes
qw(usleep ualarm gettimeofday tv_interval);I had to replace my PC and
the platform now is a 'AMD
Have you tried the LWP module documentation?
The following is a clip from the 'An Example' section
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");
# Create a request
my $req = HTTP::Request->new(POST => 'http://search.cpan.org/search');
$req->content_type('applicat
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To:
Sent: Saturday, April 08, 2006 5:49 PM
Subject: RE: first time using LWP
Petr Vileta wrote:
Petr, that's a great example. Thanks for contributing.
I have a couple style questions.
:
Petr Vileta wrote:
Petr, that's a great example. Thanks for contributing.
I have a couple style questions.
: #!/usr/bin/perl
: use strict;
: use LWP::UserAgent;
: require HTTP::Headers;
Why "use" LWP::UserAgent and "require" HTTP::Headers?
Why not require or use both? How do you decide w
Gerald Preston wrote:
> Hi!
>
>
>
> Not sure where to begin, although I have been reading every thing I can
> find, but I am looking for a few good examples that use LWP to read web
> pages from a Perl script that runs from WIN XP DOS command line.
There's a pod in the same dir as the module
- Original Message -
From: "Gerald Preston" <[EMAIL PROTECTED]>
To:
Sent: Friday, April 07, 2006 11:18 PM
Subject: first time using LWP
Hi!
Not sure where to begin, although I have been reading every thing I can
find, but I am looking for a few good examples that
Hi!
Not sure where to begin, although I have been reading every
thing I can find, but I am looking for a few good examples that use LWP to read
web pages from a Perl script that runs from WIN XP DOS command line.
Any suggestion?
Thanks,
Jerry
There are three type of times usually associated with a file. 1) Last File modification time 2) Last File access time 3) Last Inode Modification time. It seems like the first two times can be pre-dated by using the touch command. ## pre-Dating to 31-Jan-2006 touch -c -t 01311200.00
Thanx, guys you're great!!!
Ignacio Trabado Castillo
Dpto. Informática Desarrollo
tlf: 93 500 (9255)___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[EMAIL PROTECTED] wrote:
How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'd like to be able to
see how many miliseconds between them.
Any sugestions?
Time::HiRes module is what you looking for ;-)
Petr Vileta, Czech republi
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 08 March 2006 08:03
To: ActivePerl@listserv.ActiveState.com
Subject: Time in miliseconds
> How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'
[EMAIL PROTECTED] wrote:
>
> How can i get the time down to miliseconds with perl? I have a logfile,
> with various inputs per second, so i'd like to be able to see how many
> miliseconds between them.
>
> Any sugestions?
If you just want time to msecs, try Time::HiRe
Have you tried Time::Hires?
[EMAIL PROTECTED] wrote:
How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'd like to be able to see
how many miliseconds between them.
Any sugestions?
Thanx
Ignacio Trabado Castillo
Dpto. Inform
How can i get the time down to miliseconds with perl? I have a logfile, with various inputs per second, so i'd like to be able to see how many miliseconds between them.
Any sugestions?
Thanx
Ignacio Trabado Castillo
Dpto. Informática Desarrollo
tlf: 93 500
Cc: activeperl@listserv.ActiveState.com
Subject: RE: Invoking perl scripts automatically based on time of day
Hi Manish,
for clarification, Perl script along with Perl is a aplication - not a
service which is always running. There must be something else that will
wake and trick the script going
@listserv.ActiveState.com
Subject: Re: Invoking perl scripts automatically based on time of day
On 14/12/05, Mittal, Manish <[EMAIL PROTECTED]> wrote:
>
> Hi Perl gurus,
>
> Is there a way in Perl to invoke a set of Database related
perl
> scripts at certain t
Winders has "at" that'll do it.
Larry
On Wed, 14 Dec 2005, pDale wrote:
On 12/14/05, Mittal, Manish <[EMAIL PROTECTED]> wrote:
Is there a way in Perl to invoke a set of Database related perl
scripts at certain times of day regularly?
Unix/Linux has "cron". Windows has "Task Sc
27;m not sure how i got the wrong idea but i'm glad
> I now know the correct definition.
I think we're confusing the time format with the time value. UTC is
basically the same as the epoch time (from 'time' function call).
You can format the UTC/GMT/epoch time in any numbe
On 12/14/05, Mittal, Manish <[EMAIL PROTECTED]> wrote:
>
> Is there a way in Perl to invoke a set of Database related perl
> scripts at certain times of day regularly?
Unix/Linux has "cron". Windows has "Task Scheduleder".
--
pDale Campbell
"All of the birds are laughing!
C'mon, let
cron !? =) Hmm, looks like cygwin has a /usr/sbin/cron.exe
Tony
Mittal, Manish wrote:
Hi Perl gurus,
Is there a way in Perl to invoke a set of Database related
perl scripts at certain times of day regularly?
Could any one direct me to locate a good resource or provi
On 14/12/05, Mittal, Manish <[EMAIL PROTECTED]> wrote:
>
> Hi Perl gurus,
>
> Is there a way in Perl to invoke a set of Database related perl
> scripts at certain times of day regularly?
>
> Could any one direct me to locate a good resource or provide a
> snippet of code for
Hi Perl gurus,
Is there a way in Perl to invoke a set of
Database related perl scripts at certain times of day regularly?
Could any one direct me to locate a good
resource or provide a snippet of code for the above?
Thank you
Manish
> Date: Tue, 13 Dec 2005 12:16:37 -0800 (PST)
> From: [EMAIL PROTECTED]
> Subject: Re: Best ways to find time/date differences
> To: activeperl@listserv.ActiveState.com
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;charset=iso-8859-1
>
> > [EMAI
Thanks for all the info... very useful.
Manish
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of $Bill
Luebkert
Sent: Tuesday, December 13, 2005 3:55 PM
To: activeperl@listserv.ActiveState.com
Subject: Re: Best ways to find time/date differences
[EMAIL
[EMAIL PROTECTED] wrote:
>>>UTC simply means you have a + or - in \d\d\d\d where the first two are
>>>hours and the second two minutes format in relation to GMT (UTC +);
>>
>>That's just a way of 'formatting' or 'representing' the UTC
> [EMAIL PROTECTED] wrote:
>
>> Bill-
>>
>>
>> UTC (Universal Time Code) means something like what you get from
>> localtime(), but with a " -0500" or " +0500" following
>
> UTC actually means 'Universal Time Coordinated&
[EMAIL PROTECTED] wrote:
> Bill-
>
>
> UTC (Universal Time Code) means something like what you get from
> localtime(), but with a " -0500" or " +0500" following
UTC actually means 'Universal Time Coordinated' and you're talking
about the fo
Brian Raven wrote:
> If it really is a UTC time, then it might be better to call timegm
> rather than timelocal.
That's correct - I thought I had timegm in there. Not sure when it
got changed.
___
ActivePerl mailing list
Bill-
UTC (Universal Time Code) means something like what you get from
localtime(), but with a " -0500" or " +0500" following
anything UTC for us east coast would be:
my $utcUSEASTtime = localtime()." +0500"; # assumes it is run in the us
east coast
for Isra
$Bill Luebkert <> wrote:
> Mittal, Manish wrote:
>
>> The timestap format is -DD-MM_HH:MM:SS
>
> Next time you'll need to make your own attempt :
>
> use strict;
> use warnings;
> use Time::Local;
>
> my $date1 = ;
> my $date2 = '
Mittal, Manish wrote:
> The timestap format is -DD-MM_HH:MM:SS
Next time you'll need to make your own attempt :
use strict;
use warnings;
use Time::Local;
my $date1 = '2005-06-05_00:00:00';
my $date2 = '2005-06-06_01:02:03';
my $e1 = date2epoch ($date1);
my $e
The timestap format is -DD-MM_HH:MM:SS
Manish
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 5:41 PM
To: Mittal, Manish
Cc: activeperl@listserv.ActiveState.com
Subject: Re: Best ways to find time/date differences
Mittal, Manish
Mittal, Manish wrote:
> Hi,
>
>This is probably pretty simple, but I needed to know the various ways
> to find the time/date difference between two date/time values.
>
> I have a time stamp in the UTC format, up to seconds.
What does that mean 'UTC format
Hi,
This is probably pretty simple, but I needed to know the
various ways to find the time/date difference between two date/time values.
I have a time stamp in the UTC format, up to seconds.
Thanks
Manish
___
ActivePerl mailing
[EMAIL PROTECTED] wrote:
Gurus,
I thought these were interchangeable, but unless I'm doing something
really D-U-M, they're not.
use Time::Local;
use Time::localtime;
That works. This doesn't:
use Time qw( Local localtime );
I get "Can'
quote:
Gurus,
I thought these were interchangeable, but unless I'm doing something
really D-U-M, they're not.
use Time::Local;
use Time::localtime;
That works. This doesn't:
use Time qw( Local localtime );
I get "Can't locate Time.pm in @IN
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 14 November 2005 16:10
To: activeperl@listserv.ActiveState.com
Subject: Time::stuff vs. Time qw(stuff)?
> Gurus,
>
> I thought these were interchangeable, but unless I'm doing something
really
Gurus,
I thought these were interchangeable, but unless I'm doing something really D-U-M, they're not.
use Time::Local;
use Time::localtime;
That works. This doesn't:
use Time qw( Local localtime );
I get "Can't locate Time.pm in @INC ... bla
Bill-
"$Bill Luebkert" <[EMAIL PROTECTED]> wrote on 11/07/2005 07:23:09 PM:
> If your intent is to remove all directories below Z:/dssmoke, then
> I'd do a File::Find starting at the base dir and do a File::Path::rmtree
> on any directories found in that dir (unless you also want the files
> in
1 - 100 of 188 matches
Mail list logo