PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: dbh->newdate function
Date: Feb 8 1996 2:44PM

> From: kkitts@uhd2.uhd.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.

Michael

PS. I guess I *could* add native handling of dates to DBlib as well...