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 / _DateToDayOfWeek.au3 < prev    next >
Text File  |  2005-02-06  |  259b  |  8 lines

  1. #include <Date.au3>
  2.  
  3. ; Week day number for a given date
  4. $iWeekday = _DateToDayOfWeek (@YEAR, @MON, @MDAY)
  5. : Should be equal to @Wday
  6. MsgBox(4096, "", "Todays WeekdayNumber is: " & $iWeekDay)
  7. MsgBox(4096, "", "Today is a : " & _DateDayOfWeek(iWeekDay))
  8.