Days-in-month validator

Navigation

Skip navigation.

Site search

Site navigation

This script

Description

Provides the correct number of days based on the month and year.

Current version

Appears to have been created 6-7/10/2002

Browser support

Trident / EdgeHTML / Tasman (Internet Explorer 4+, Edge 44-)Script works as expected
Opera 7-12Script works as expected
Gecko engine browsers (Mozilla, Firefox, Netscape 6+, etc)Script works as expected
KHTML / WebKit / Chromium / Blink / QT WebEngine / QTWebKit / WebKitGTK (Chrome, Vivaldi, Opera 15+, Edge 79+, Safari, Konqueror, OmniWeb 4.5+, iCab 4+, NetFront Chromium / WebKit)Script works as expected
iCab 3-Script works as expected
Rhino + W3C DOM (ICEbrowser)Script works as expected
Rhino + layers / W3C DOM (Escape / Evo, iBrow)Script works as expected
NetFront 3+ NetFront engineScript works as expected in NetFront 3.4+, in 3.3- browser may hang
Opera 5 and 6 Elektra engineScript works as expected
Netscape 4Script works as expected
OmniWeb 4.2-Script works as expected
Rhino + pDOM (Clue browser)Browser may hang
WebTVScript works as expected
Tkhtml Hv3+Browser crashes
Netgem NetBoxNot tested but it should work
OpenTVNot tested but it should work
iPanel MicroBrowserNot tested but it should work

Accessibility notes

No inherent accessibility problems as long as 31 days are provided in plain HTML. Extendable year box will need to be extended on the server if JavaScript is disabled (look for the option values used to extend).

License

Please see my terms and conditions page for terms and conditions of use.

This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.