How can I get a current day (Sunday, Monday,...) like I can get date with Date() or New() or time with Time() ?
Printable View
How can I get a current day (Sunday, Monday,...) like I can get date with Date() or New() or time with Time() ?
WeekDay(date,firstdayofweek)
ex:
WeekDay(#July 29,#1999)
Return 5 for thursday
vbSunday = 1 to vbSaturday = 7
Thanks a lot sebs, it works!