From rkleeman at energoncube.net Wed Apr 9 19:58:42 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:45 2004 Subject: Meeting on Tuesday Message-ID: <20030410005842.GG19958@energoncube.net> ~sdpm~ Fellow Perl Mongers, It's almost time for the next meeting: Tuesday, April 5, 7PM. At the last meeting several particpants had some ideas for new meeting locations. If any of those turn up gold I'll let everyone know, but until then let's plan on meeting at the food court inside of the UTC mall. I'll send out another reminder or two early next week. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at ucsd.edu Fri Apr 11 16:20:53 2003 From: cabney at ucsd.edu (C. Abney) Date: Thu Aug 5 00:20:45 2004 Subject: ping Message-ID: <1050096053.7462.1.camel@vespa> ~sdpm~ I understand the meetings are dying, is the list dying, too? Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From merlyn at stonehenge.com Fri Apr 11 17:07:07 2003 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Aug 5 00:20:45 2004 Subject: ping In-Reply-To: <1050096053.7462.1.camel@vespa> References: <1050096053.7462.1.camel@vespa> Message-ID: <86of3c3cz8.fsf@red.stonehenge.com> ~sdpm~ >>>>> "C" == C Abney writes: C> ~sdpm~ C> I understand the meetings are dying, is the list dying, too? That's what happens when you stop letting OSCON into your city. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From brick at fastpack.com Fri Apr 11 20:23:40 2003 From: brick at fastpack.com (Brick Robbins) Date: Thu Aug 5 00:20:45 2004 Subject: ping In-Reply-To: <86of3c3cz8.fsf@red.stonehenge.com> References: <1050096053.7462.1.camel@vespa> <1050096053.7462.1.camel@vespa> Message-ID: <4.3.2.7.2.20030411182147.03a8c950@216.122.113.27> ~sdpm~ Pinging happyfunball.pm.org [207.8.52.206] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 207.8.52.206: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms -- Brick Robbins There are only 10 types of people in the world: Those who understand binary and those who don't. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Fri Apr 11 20:35:24 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:45 2004 Subject: ping In-Reply-To: <86of3c3cz8.fsf@red.stonehenge.com> References: <1050096053.7462.1.camel@vespa> <86of3c3cz8.fsf@red.stonehenge.com> Message-ID: <20030412013524.GC1610@energoncube.net> ~sdpm~ On Fri, Apr 11, 2003 at 03:07:07PM -0700, Randal L. Schwartz wrote: > ~sdpm~ > >>>>> "C" == C Abney writes: > > C> ~sdpm~ > C> I understand the meetings are dying, is the list dying, too? > > That's what happens when you stop letting OSCON into your city. :) So does that mean that Portland.pm is the next one to wither? ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Fri Apr 11 20:34:54 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:45 2004 Subject: ping In-Reply-To: <1050096053.7462.1.camel@vespa> References: <1050096053.7462.1.camel@vespa> Message-ID: <20030412013454.GB1610@energoncube.net> ~sdpm~ Some meetings are well attened, some are not. The last meeting had six attendees, which I consider a fair turnout. The meeting before that had three. So depending on various circumstances we are doing OK to being a tad thin. I think the meetings are withering because we are having a hard time coming up with a good, stable meeting location, good topics for discussion, and a good mix of attendees to learn from. I'm all ears for ideas on how to fix any of these issues, but until then I'm going to keep driving things along, hoping that something works out. We've been talking about various ways to fix some of the issues at the meetings. Some of the given ideas include a social night once a month; seminars at the monthly meetings; holding the meetings at different times, locations, or with a different frequency; more active recruitment; specialty discussion groups. If any of this sounds good to the membership please speak up because I'd be happy to arrange it. I'm more than happy to hear about ideas, opinoins, good and bad experiences at the meetings, or anything else that affects the group. In fact, if we get any ideas that stimulate the group enough or to get meeting attendance above 20 people, I'll buy pizza for the following meeting. On Fri, Apr 11, 2003 at 02:20:53PM -0700, C. Abney wrote: > ~sdpm~ > I understand the meetings are dying, is the list dying, too? > > Yours, > > Charles > -- > Charles Abney > Polymorphism Research Laboratory, 0603 > UCSD School of Medicine > 9500 Gilman Dr. > La Jolla, CA 92093-0603 > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to . > This is the general rule for most mailing lists when you need > to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From merlyn at stonehenge.com Fri Apr 11 20:39:25 2003 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Aug 5 00:20:45 2004 Subject: ping In-Reply-To: <20030412013524.GC1610@energoncube.net> References: <1050096053.7462.1.camel@vespa> <86of3c3cz8.fsf@red.stonehenge.com> <20030412013524.GC1610@energoncube.net> Message-ID: <8665pk335e.fsf@red.stonehenge.com> ~sdpm~ >>>>> "Bob" == Bob Kleemann writes: >> That's what happens when you stop letting OSCON into your city. :) Bob> So does that mean that Portland.pm is the next one to wither? Only when we finally reject OSCON. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Mon Apr 14 14:03:13 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:45 2004 Subject: Meeting this Tue Message-ID: <20030414190313.GC21016@energoncube.net> ~sdpm~ Just a reminder folks, there is a meeting tommorow (Tuesday) evening. We are going to move locations this month to the food court inside of the UTC mall. If you need directions to the mall, just let me know. Otherwise I'll see all of you at 7PM. Topics for this meeting include places to meet, things to do when we meet, and of course the typical Perl Q&A. Bring your ideas, suggestions, questions, comments, concerns, and stories about the wonderful tax year to the meeting. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Mon Apr 14 23:11:56 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:45 2004 Subject: Meeting Tues Message-ID: <20030415041156.GB27936@energoncube.net> ~sdpm~ Perl Mongers, I sent out a message earlier today, but it looks like it got lost. So, just to remind everyone, there is a meeting tommorow (yes, tax day, hooray ;-). 7PM at the food court inside of the UTC mall. Bring your comments, questions, concerns, ideas, issues, and anything else you can think of. We'll eat, drink, talk, answer, and do whatever else comes to mind. Let me know if anyone needs directions or other guidance. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Mon Apr 14 23:11:56 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:46 2004 Subject: Meeting Tues Message-ID: <20030415041156.GB27936@energoncube.net> ~sdpm~ Perl Mongers, I sent out a message earlier today, but it looks like it got lost. So, just to remind everyone, there is a meeting tommorow (yes, tax day, hooray ;-). 7PM at the food court inside of the UTC mall. Bring your comments, questions, concerns, ideas, issues, and anything else you can think of. We'll eat, drink, talk, answer, and do whatever else comes to mind. Let me know if anyone needs directions or other guidance. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Mon Apr 14 14:03:13 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:46 2004 Subject: Meeting this Tue Message-ID: <20030414190313.GC21016@energoncube.net> ~sdpm~ Just a reminder folks, there is a meeting tommorow (Tuesday) evening. We are going to move locations this month to the food court inside of the UTC mall. If you need directions to the mall, just let me know. Otherwise I'll see all of you at 7PM. Topics for this meeting include places to meet, things to do when we meet, and of course the typical Perl Q&A. Bring your ideas, suggestions, questions, comments, concerns, and stories about the wonderful tax year to the meeting. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at ucsd.edu Wed Apr 23 11:51:01 2003 From: cabney at ucsd.edu (C. Abney) Date: Thu Aug 5 00:20:46 2004 Subject: what's the word on SVG Message-ID: <1051116650.9232.182.camel@vespa> ~sdpm~ I haven't seen anything about this in awhile, anybody know what (if any) is the final word on SVG and patent issues? Is w3c still um... untainted? Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From wwood at ucsd.edu Wed Apr 23 14:22:16 2003 From: wwood at ucsd.edu (Bill Wood) Date: Thu Aug 5 00:20:46 2004 Subject: No subject Message-ID: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> ~sdpm~ Can someone help me out. I've got a problem where perl seems to be evaluating the test at line 6 below in a string context. I'm taking the results of database call to a datediff function and doing a greater than test. When the result is negative the if branch is still being taken. I can't see what is wrong here. 1 my $date_diff=0; 2 my $diff_test = 0; 3 my $sql = qq/ 4 select datediff(dd,"$last_used_date{$card_key}","$trans_date")/; 5 @ret = $dbh->sql("$sql",sub {($date_diff)=@_;}); 6 if ($date_diff > $diff_test ) { 7 $last_used_date{$card_key} = $trans_date; 8 } This is perl, version 5.005_03 built for sun4-solaris All comments appreciated, thanks Bill Wood University of California at San Diego Administrative Computing and Telecommunications - 0929 10280 North Torrey Pines Rd. La Jolla, Ca 92093-0929 EMail: wwood@ucsd.edu Phone: 858/534-1291 Fax: 858/534-7656 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Wed Apr 23 16:22:24 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:46 2004 Subject: your mail In-Reply-To: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> References: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> Message-ID: <20030423212224.GC4236@energoncube.net> ~sdpm~ Well, first of all I'd change your code just slightly, get rid of the quotes around $sql on line 5: > 5 @ret = $dbh->sql($sql, sub {($date_diff)=@_;}); It doesn't hurt anything, it's just doesn't need to be there. Also, what would be printed if you put this between line 5 and 6: print STDERR "date_diff == $date_diff, diff_test == $diff_test\n"; On Wed, Apr 23, 2003 at 12:22:16PM -0700, Bill Wood wrote: > ~sdpm~ > Can someone help me out. I've got a problem where perl seems to be > evaluating the test at line 6 below in a string context. I'm taking the > results of database call to a datediff function and doing a greater than > test. When the result is negative the if branch is still being taken. I > can't see what is wrong here. > > > 1 my $date_diff=0; > 2 my $diff_test = 0; > 3 my $sql = qq/ > 4 select datediff(dd,"$last_used_date{$card_key}","$trans_date")/; > > 5 @ret = $dbh->sql("$sql",sub {($date_diff)=@_;}); > > 6 if ($date_diff > $diff_test ) { > 7 $last_used_date{$card_key} = $trans_date; > 8 } > > This is perl, version 5.005_03 built for sun4-solaris > > All comments appreciated, thanks > > Bill Wood > University of California at San Diego > Administrative Computing and Telecommunications - 0929 > 10280 North Torrey Pines Rd. > La Jolla, Ca 92093-0929 > > EMail: wwood@ucsd.edu > Phone: 858/534-1291 > Fax: 858/534-7656 > > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to . > This is the general rule for most mailing lists when you need > to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Wed Apr 23 20:43:42 2003 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:46 2004 Subject: none In-Reply-To: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> References: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> Message-ID: ~sdpm~ >>>>> "Bill" == Bill Wood writes: Bill> Can someone help me out. I've got a problem where perl seems to Bill> be evaluating the test at line 6 below in a string context. Um. ">" always does numeric comparisons, which makes me think that I don't understand exactly what you're doing here. Do you mean that you're getting "foo is not numeric in numeric gt" type warnings? And is this all under "use strict" and -w? Bill> I'm taking the results of database call to a datediff function Bill> and doing a greater than test. When the result is negative the Bill> if branch is still being taken. Interestingly enough, there is no documented "sql" method in the generic DBI perldoc; what DBD are you using? Bill> 1 my $date_diff=0; Bill> 2 my $diff_test = 0; Bill> 3 my $sql = qq/ Bill> 4 select datediff(dd,"$last_used_date{$card_key}","$trans_date")/; Bill> 5 @ret = $dbh->sql("$sql",sub {($date_diff)=@_;}); Bill> 6 if ($date_diff > $diff_test ) { Bill> 7 $last_used_date{$card_key} = $trans_date; Bill> 8 } I'd probably phrase this like so: | my $res_aref = $dbh->selectall_arrayref( "SELECT datediff( dd, ?, ? )", | {}, # no attributes | $last_used_date{$card_key}, | $trans_date ); | | my $date_diff = $res_aref->[0][0]; | my $diff_test = 0; | if ( $date_diff > $diff_test ) | { | $last_used_date{$card_key} = $trans_date; | } I'm used to Oracle SQL, which would require that we select from the pseudo-table DUAL to get the results of a function like that: | my $res_aref = $dbh->selectall_arrayref( "SELECT datediff( dd, ?, ? )" . | " FROM DUAL", | {}, # no attributes | $last_used_date{$card_key}, | $trans_date ); Which is getting a little out of hand; switching to defining $sql seperately doesn't seem like a bad idea at this point: | my $sql = 'SELECT datediff( dd, ?, ? ) FROM DUAL'; | my $res_aref = $dbh->selectall_arrayref( $sql, {}, # no attributes | $last_used_date{$card_key}, | $trans_date ); If you are going to be doing a lot of these SELECT calls, you should perhaps perpare it only once, then do the explicit execute / fetch / finish loop. Bill> This is perl, version 5.005_03 built for sun4-solaris Note that this is a relatively ancient version of perl; 5.8.0 is current (or has 5.8.1 come out?). Bug your admins to upgrade. Bill> All comments appreciated, thanks Just by the by, if you are just trying to compare two date strings, consider using Date::Parse and Date::Calc instead of making a much much much more expensive call into the database. Share and enjoy, t. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From dgwilson1 at cox.net Thu Apr 24 21:42:52 2003 From: dgwilson1 at cox.net (Douglas Wilson) Date: Thu Aug 5 00:20:46 2004 Subject: Bill Wood References: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> Message-ID: <002601c30ad4$5f61df20$e93a0544@oc.cox.net> ~sdpm~ ----- Original Message ----- From: "Bill Wood" > > 1 my $date_diff=0; > 2 my $diff_test = 0; > 3 my $sql = qq/ > 4 select datediff(dd,"$last_used_date{$card_key}","$trans_date")/; > > 5 @ret = $dbh->sql("$sql",sub {($date_diff)=@_;}); Are you using Win32::ODBC? I see a sql method in the docs, but I don't see that it takes a second argument, let alone a subroutine. You have to call $dbh->FetchRow in order to fetch any values after the sql method. And I would print both $date_diff and $diff_test as Bob suggests. Win32::ODBC was the only option before DBD::ODBC came along, but these days, in order to more fully be compatible with the rest of the world and have other people be able to help you, I'd switch to DBI and DBD::ODBC if at all possible. You then also get the benefit of placeholders/bind_values. Though you're still stuck with the ODBC limitation of only one active statement handle at a time. HTH, -Doug ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From wwood at ucsd.edu Thu Apr 24 23:14:59 2003 From: wwood at ucsd.edu (Bill Wood) Date: Thu Aug 5 00:20:46 2004 Subject: Request for Help References: <4.2.2.20030423121246.014a8c98@popmail.ucsd.edu> <002601c30ad4$5f61df20$e93a0544@oc.cox.net> Message-ID: <000501c30ae1$3c7b78b0$6501a8c0@bwood> ~sdpm~ I want to thank everyone for their help. It turns out the problem was upsteam from the code I showed you. I wasn't providing proper parameters to the datediff call. Once I got that cleared up, surprise, it started working properly. This app was reading data from a tab delimited text file, taking a date in the format mm/dd/yyyy, obtaining a date from a sybase database and then using the sybase datediff function to determine the difference between them. Thanks again, Bill Wood ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human.