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

  1. #include <Date.au3>
  2.  
  3. If _DateIsLeapYear( @YEAR ) Then
  4.     MsgBox( 4096, "Leap Year", "This year is a leap year." )
  5. Else
  6.     MsgBox( 4096, "Leap Year", "This year is not a leap year." )
  7. EndIf
  8.