home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / shareware / autoit-v3-setup.exe / Examples / Helpfile / _DateIsValid.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  244 b   |  10 lines

  1. #include <Date.au3>
  2.  
  3. $sDate =  @YEAR & "/" & @MON & "/" & @MDAY
  4.  
  5. If _DateIsValid( $sDate ) Then
  6.   MsgBox( 4096, "Valid Date", "The specified date is valid." )
  7. Else
  8.   MsgBox( 4096, "Valid Date", "The specified date is invalid." )
  9. EndIf
  10.