p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Reg. Exp to check format of date...


Message #1 by salau@p... on Fri, 7 Jun 2002 22:15:48
Hi everyone!

Thanks for all the help and the suggestions. I tried Alex's way and 
realized that it's done in JScript, which apparently Visual InterDev 
doesn't like. My code is currently done in VBScript. Thanks for the 
suggestion though! 

To answer a question, no I'm not trying to store a string as a date. It's 
supposed to be date as a date which works. I don't have problems with 
storage. What I have problems with is the format, since dates can be 
formatted many ways. I just don't know how to check the format. 

KC, thanks for the COM code; don't know how to compile it though. I did go 
through your reference for ASPFree.com and found the working example, 
which was perfect. 

Again, much thanks for the prompt and helpful replies!
Sandra ^_^


  Return to Index