date validation for DD-MMM format

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
nani0907
Participant
Posts: 155
Joined: Wed Apr 18, 2007 10:30 am

date validation for DD-MMM format

Post by nani0907 »

Hi,

Need some info abou date validation. iam getting Date in DD-MMM format from soure file.i need to check whether it is valid or not please help on this.

Thanks in advance
thanks n regards
nani
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... dates like 03-MAR for March 3rd? Kind of hard to fully validate them without the year but I guess you could hard-code on a leap year and then validate. Unless 29-FEB is never valid in your world. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to parallel forum

The answer is vastly different depending on job type.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply