home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 January / PCWELT_1_2006.ISO / pcwsoft / autoit-v3-setup.exe / Examples / _DateToDayOfWeek.au3 < prev    next >
Encoding:
Text File  |  2005-02-06  |  259 b   |  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.