Tara Calishain wrote:
>
> Actually, are there any books/docs that talk specifically about dealing
> with time?
http://www.rdbooks.com/store/products/rd2735.htm
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
You can convert the date/time to seconds format using the Time::Local
module. It attempts to do a "reverse localtime()".
-Original Message-
From: Felix Geerinckx
To: [EMAIL PROTECTED]
Sent: 4/26/02 5:40 AM
Subject: Re: Backing up two days from localtime
on Fri, 26 Apr 200
On Fri, Apr 26, 2002 at 08:32:21AM -0400, Tara Calishain wrote:
> I'm anticipating coming across this same problem with user input dates, and
> I don't expect the seconds trick will work for that one.
>
> For example, say a user specified $day-$month-$year and ten days, and I
> wanted to generat
on Fri, 26 Apr 2002 12:32:21 GMT, [EMAIL PROTECTED] (Tara
Calishain) wrote:
> Actually, are there any books/docs that talk specifically about
> dealing with time?
> I'm anticipating coming across this same problem with user input
> dates, and I don't expect the seconds trick will work for that
>
At 02:05 AM 4/26/2002, Jeff 'japhy' Pinyan wrote:
> >I need to back up two days from localtime and I can't figure out how to do
> >it. Currently I'm doing this just so I can work out the rest of the program:
> >
> >($day, $month, $year) = (localtime) [3,4,5]; #getting your local time
>
>The generi
On Fri, Apr 26, 2002 at 09:32:04AM +0100, Jonathan E. Paton wrote:
> > I need to back up two days from localtime and I can't
> > figure out how to do it. Currently I'm doing this just
> > so I can work out the rest of the program:
>
> [Ignore me if you aren't on a Unix like platform]
>
> Hi,
>
> I need to back up two days from localtime and I can't
> figure out how to do it. Currently I'm doing this just
> so I can work out the rest of the program:
[Ignore me if you aren't on a Unix like platform]
Hi,
You should seriously consider installing the 'at' job
manager for run-once tasks, o
Actually this is a really common question. The thing you need to remember
is that when you use localtime(), what you are really saying is
localtime(time). Local time takes the number of seconds since the year 1970
and translates it into the array you are using UNLESS YOU SPECIFY ANOTHER
DATE I
On Apr 26, Tara Calishain said:
>I need to back up two days from localtime and I can't figure out how to do
>it. Currently I'm doing this just so I can work out the rest of the program:
>
>($day, $month, $year) = (localtime) [3,4,5]; #getting your local time
The generic (read: potentially unsaf