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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Getting the raw value of a datetime field
Date: Dec 22 2005 8:25AM

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.

Michael
-- 
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html