asking in the C2 forum would have helped...
Pretty much the same as in C3, but you have to use the browser object to call the javescript.
https://www.rieperts.com/games/forum/DayOfWeek.capx
NOTE: THIS WILL ONLY work when the user runs the program. If your code says to do something on Monday, it will only happen if the user happens to run your game on a Monday.
If you want something to happen automatically, whether the user opens the game or not, then you need to store the last date they opened the game and calculate if a Monday has past, or you have to set up user accounts on a server and have code run there that keeps things up to date...