Title:         
Web-Link: http://www.arabteam2000-forum.com/index.php?showtopic=125047
Description: Date Validation Example
Department: Web Design forum
Develop Using: Notepad
Assistant Tool(s): Java Script
Version: 1.00
Last update: 27 April 2007
Date: 27 April 2007
Time Zone: (GMT + 02:00) Cairo
Author: Eng. Usama El-Mokadem: musama@hotmail.com

Topic(125047) [Apr 27 2007, 01:35 AM]: By masab: http://www.arabteam2000-forum.com/index.php?showuser=111200
=======
-----BEGIN TOPIC-----
             .                   
-----END TOPIC-----

Solution:
=======
-----BEGIN SOLUTION-----
function DateValidation(myDate)
{
	var varDate = new Date(myDate);

	if (!isNaN(varDate.getTime()))
		alert('Valid date: ' + varDate.getDate() + '/' + (varDate.getMonth()+1) + '/' + varDate.getFullYear());
	else
		alert('<<< Invalid date: ' + myDate + ' >>>');
}
  
-----END SOLUTION-----

Attachments:
============
DateValidation.zip
The (Attached) Solution Suggested By Eng. Usama El-Mokadem: http://www.arabteam2000-forum.com/index.php?showuser=98027

CONTACT INFORMATION:
=======================
  Eng. Usama El-Mokadem
  Email: musama@hotmail.com
  Web: http://musama.tripod.com
  Mobile: 0020 10 1289308
  Egypt