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 / _DateDayOfWeek.au3 < prev    next >
Text File  |  2005-01-03  |  263b  |  10 lines

  1. #include <Date.au3>
  2.  
  3. ; Retrieve the long name
  4. $sLongDayName = _DateDayOfWeek( @WDAY )
  5.  
  6. ; Retrieve the abbreviated name
  7. $sShortDayName = _DateDayOfWeek( @WDAY, 1 )
  8.  
  9. MsgBox( 4096, "Day of Week", "Today is: " & $sLongDayName & " (" & $sShortDayName & ")" )
  10.