RE: Compare dates question

2002-06-26 Thread Thomas_M
> 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/

Re: Compare dates question

2002-06-26 Thread steve silvers
. >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. >

RE: Compare dates question

2002-06-25 Thread Warkentin, Brad
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

Re: Compare dates question

2002-06-25 Thread John Deighan
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

Re: Compare dates question

2002-06-25 Thread $Bill Luebkert
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

RE: Compare dates question

2002-06-25 Thread Joseph Youngquist
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

RE: Compare dates question

2002-06-25 Thread Floyd Russell
|> 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

FW: Compare dates question

2002-06-25 Thread Jacobs, Dee
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

Compare dates question

2002-06-25 Thread steve silvers
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