> I like this idea, but the only problem is that it is set to
> 30 days no
> matter what. The date 05/27/2002 runs up on 06/26/2002.
> Exactically 30 days
> later. I was hoping to set it to the exact date from month to
> month. Like
> the start date is 05/27/2002 the end date would be 06/27/
.
>From: "$Bill Luebkert" <[EMAIL PROTECTED]>
>To: steve silvers <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Compare dates question
>Date: Tue, 25 Jun 2002 12:24:19 -0700
>
>steve silvers wrote:
>>To get the current date im using.
>
steve silvers [mailto:[EMAIL PROTECTED]] wrote:
> How can I do this. I need to compare the start date of
> 06/25/2002 each day
> to see if my script should make them inactive.
adjust your timestamp values and then:
use Date::Calc qw(Delta_Days);
my ($day2, $month2, $year2) = (localtime)[3,4,5
At 05:32 PM 6/25/2002 +, steve silvers wrote:
>To get the current date im using.
>
>my ($mday, $mon, $year) = (localtime(time))[3..5];
>my $startdate = sprintf "%02u/%02u/%u", $mon + 1, $mday, $year + 1900;
>
>Which gives me 06/25/2002
>
>I have this written to my database in the startdate fie
steve silvers wrote:
> To get the current date im using.
>
> my ($mday, $mon, $year) = (localtime(time))[3..5];
> my $startdate = sprintf "%02u/%02u/%u", $mon + 1, $mday, $year + 1900;
>
> Which gives me 06/25/2002
>
> I have this written to my database in the startdate field. When people
> re
To: [EMAIL PROTECTED]
Subject: FW: Compare dates question
User ppm to get HTTP::Date
I have been using this and it's good for your purpose
-Original Message-
From: steve silvers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: Compare
|> Subject: FW: Compare dates question
|>
|>
|> User ppm to get HTTP::Date
|> I have been using this and it's good for your purpose
|>
|>
|> -Original Message-
|> From: steve silvers [mailto:[EMAIL PROTECTED]]
|> Sent: Tuesday, June 25, 2002
User ppm to get HTTP::Date
I have been using this and it's good for your purpose
-Original Message-
From: steve silvers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: Compare dates question
To get the current date im using
To get the current date im using.
my ($mday, $mon, $year) = (localtime(time))[3..5];
my $startdate = sprintf "%02u/%02u/%u", $mon + 1, $mday, $year + 1900;
Which gives me 06/25/2002
I have this written to my database in the startdate field. When people
register on the intranet, how can I tell