📅  最后修改于: 2022-03-11 15:00:32.036000             🧑  作者: Mango
#include
#include
; 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 & ")")