Thank you so much!
Still 
 
eval  myDate = myvalidator(myDate:myFormat);  plus a prototype works
anywhere I want and returns what I want....(encapsulation)
 
cheers,
bill
 

----- Original Message ----- 
From: Michael_Schutte@xxxxxxxxxxxx <mailto:Michael_Schutte@xxxxxxxxxxxx>  
To: Midrange Systems Technical  <mailto:midrange-l@xxxxxxxxxxxx> Discussion 
Sent: Wednesday, March 15, 2006 9:00 AM
Subject: Re: date validate


My opinion is that it's a waste of time to go through all that trouble. 
Making a mountian out of a mole hill.  If all you want to do is test the 
date value in a character or numerical field, then just use the TEST 
function. 

Michael Schutte 
Work 614-492-7419 
email  michael_schutte@xxxxxxxxxxxx <mailto:michael_schutte@xxxxxxxxxxxx>  


                                                                           
             Bill  Meecham                                                 
             <BMeecham@weicher                                             
             trealtors.net>                                             To 
             Sent by:                  Midrange Systems Technical          
             midrange-l-bounce         Discussion                          
             s@xxxxxxxxxxxx            <midrange-l@xxxxxxxxxxxx>           
                                                                        cc 
                                                                           
             03/15/2006 08:34                                      Subject 
             AM                        Re: date validate                   
                                                                           
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
             <midrange-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




I built a service program that contains various utilities like, day of the 
week for a particular date; change case of a string to upper,lower, name, 
location, sentence; check string for low hex values; find the date that is 
X 
days away from given date; and among others, validate a date based on a 
numeric input....input can be md; mdy; or mdcy and it returns the format 
that I want the date in; zymd; cymd; mdcy; iso; ymd or an error code. 

My vote would be to create a service program or module that could be 
plugged 
in where needed. 


bill 



----- Original Message ----- 
From: rob@xxxxxxxxx <mailto:rob@xxxxxxxxx <mailto:rob@xxxxxxxxx> > 
To: Midrange Systems Technical  <mailto:midrange-l@xxxxxxxxxxxx
<mailto:midrange-l@xxxxxxxxxxxx> > Discussion 

Sent: Wednesday, March 15, 2006 8:11 AM 
Subject: Re: date validate 


Well one way is to use real date fields in your files and programs, 
instead of numbers or some such animal. 

Rob Berendt 

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.