![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the Day of the Week
|
||
dtmToday = Date()
dtmDayOfWeek = DatePart("w", dtmToday) Select Case dtmDayOfWeek Case 1 Wscript.Echo "Sunday" Case 2 Wscript.Echo "Monday" Case 3 Wscript.Echo "Tuesday" Case 4 Wscript.Echo "Wednesday" Case 5 Wscript.Echo "Thursday" Case 6 Wscript.Echo "Friday" Case 7 Wscript.Echo "Saturday" End Select | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |