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 Peppler - firstname.lastname@example.org - http://www.peppler.org/
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html