home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / _DateIsLeapYear.au3 < prev    next >
Text File  |  2005-01-03  |  192b  |  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.