You are here
WEEKDAY
Mon, 12/03/2007 - 11:35 - chrisws
SmallBASIC syntax groups:
Date function WEEKDAY
If there is insufficient information on this page and you wish learn more about WEEKDAY, please send an email to smallbasic@gmail.com. You can help to improve information about WEEKDAY by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
PRINT WeekDay(DATE)
PRINT WeekDay(Julian(31, 12, 2001))
PRINT WeekDay(31, 12, 2001)
Comments
weekday
SPLIT "Sun Mon Tue Wed Thu Fri Sat", " ", wd
today = "Today is " + wd(WEEKDAY(DATE)) + " " + DATE
PRINT today