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: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Date format handling before inserting to sybase
Date: Feb 23 1996 10:38AM

> From: Frank Gessner 
> 
> 	I couldn't find a build in function to check an entered  
> string (of an input field) for its currect data format. eg.  
> '23-02-96'. If there is anthing grap entered I would like to check  
> and modify the string before inserting to a sybase datetime field.
> Thank you in advance.

There's no general purpose field validation routine.

For date values, you may want to check out the Date::DateCalc module (I
haven't looked, but it's probably available at CPAN/authors/id/STBEY).

Michael