check a dates validity

Results 1 to 2 of 2

Thread: check a dates validity

  1. #1
    Join Date
    Dec 1969

    Default check a dates validity

    I want to trap no-such-dates before they are inserted into a DB - for example.<BR>There are 30 days in November so 31/11/2001 is not valid. Is there a VBScript check that I can run? This is an IE only environment so client-side solution is preferable - Javascript is fine too

  2. #2
    Join Date
    Dec 1969

    Default RE: check a dates validity

    Try using the VBScript ISDate() function....if a valid date is passed it should return true, else returns false

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts