JAVA Scripts


اقسام الجافا سكربت - Mine for JavaScript
تقويم الجافا - calendars آلات حاسبة - Calculators ازرار جافا - buttons مأثرات الخلفيات - Background Effects
شجرة المجلدات -Folder trees جافا حسابيه - Equivalents كوكيز - Cookies ساعات جافا - Clocks
رسائل الجافا - Messages جافا انشائية - Generators العاب جافا - games قوائم جافا - Forms
جافا باسوورد - Passwords بيانات الصفحات - Page Details جافا الملاحة - Navigation جافا متنوعة - Miscellaneous
شريط التمرير - Scrollers بيانات المستخدم - User Details - -



Home } Forms } Validation (Date)




Dates are validated and formatted in your form. Supports over a dozen different date formats, and formats the date properly in United States or European date formatting styles depending on how the script is configured. A dateCheck function also is included if you wish to compare two dates. Wow!
From date 
To date   


The following date formats are accepted:

mm-dd-yyyy, mm/dd/yyyy, mm.dd.yyyy, mm dd yyyy,
mmm dd yyyy, mmddyyyy, m-d-yyyy, m/d/yyyy, m.d.yyyy,
m d yyyy, mmm d yyyy, m-d-yy, m/d/yy, m.d.yy, m d yy,
mmm d yy (yy is 20yy)

(Accepted EU formats just switch month and day)

JavaScript Source Code 3000: Forms: Validation (Date)

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!