Re: Getting the raw value of a datetime field
"Alan Olsen" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Organization | ODS Health Plans |
| Message-ID | <1135274017.1317.6.camel@odshp> |
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.