Re: Getting the raw value of a datetime field

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
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  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.