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: "Alan Olsen" <olsena at odscompanies dot com>
Subject: Re: Getting the raw value of a datetime field
Date: Dec 22 2005 5:53PM

On Thu, 2005-12-22 at 09:25 +0100, Michael Peppler wrote:
> On Wed, 2005-12-21 at 17:41 -0800, Alan Olsen wrote:
> > Is there a way to get the "raw" value of a datetime field in Sybperl?  I
> > have a datetime field that has millisecond values in is, but the display
> > is munged to display only down to the minute.
> 
> Assuming you are using Sybase::CTlib, you have a number of options
> available in addition to Luc's suggestion.
> 
> See the UseDateTime attribute, and the DateTime class section in the
> Sybase::CTlib man page.

That works.  The example in that man page is what I needed.  

Thanks.