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: ISO8601 date formats
Date: Sep 21 2004 1:08PM

On Tue, 2004-09-21 at 14:59, Avis, Ed wrote:
> Michael Peppler wrote:
> 
> >I'm thinking of adding support for conversion to ISO8601 date/time
> >formats to DBD::Sybase.
> 
> Supporting standard date formats is good but why does it belong in
> DBD::Sybase?  There are already a dozen modules for date conversions.

1) it's easy
2) The existing Sybase date formats are locale-dependent, which causes
potential problems when you need to parse the date
3) The conversion (in C) is ultra-fast, something that is important in a
module that might pull a lot of data...

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html