Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: dbh->newdate function
Date: Feb 8 1996 2:44PM
> From: email@example.com (Kevin Kitts)
> I am trying to use a call that I saw at the Sybperl website...
> $date = $dbh->newdate('Jan 1 1995');
> but I get the error message:
> Can't locate auto/Sybase/DBlib/newdate.al in @INC at imagedb line 20
You need to use the Sybase::CTlib module (version 2.00 or later) to get
the native DateTime handling.
To find out which version of sybperl you can do this:
perl -e 'use Sybase::DBlib; print $Sybase::DBlib::Version, "\n";'
You have access to the CTlib module if you have Sybase System 10
installed at your site.
PS. I guess I *could* add native handling of dates to DBlib as well...