Answers for "autoit get day of the week"

0

autoit get day of the week

#include <Date.au3>
#include <MsgBoxConstants.au3>

; Retrieve the long name
Local $sLongDayName = _DateDayOfWeek(@WDAY)

; Retrieve the abbreviated name
Local $sShortDayName = _DateDayOfWeek(@WDAY, $DMW_SHORTNAME)

MsgBox($MB_SYSTEMMODAL, "Day of Week", "Today is: " & $sLongDayName & " (" & $sShortDayName & ")")
Posted by: Guest on July-25-2020

Browse Popular Code Answers by Language