Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP Very Urgent

Status
Not open for further replies.

ActiveASP

Programmer
May 18, 2001
1
IN
I need to develop a component which can talk the values from an ASP page and then concadinatate it in one variable and that variable gets checke through Windows Scripting Compantent whether the date is in dd/mm/yy format and in second month of the year it allows 29 days and not more.
Please hlep

 
if you are going to use WSH, you can pretty much just use VBScript as your language.

Then in the .wsh, use the DateDiff function to determine whether the date is >29 days.

Don't worry about whether it is in the correct format or not, you can just control the formatting using the DateFormat function.

That should be enough to get you started.

leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top