I need to write a script to perform certain tasks on a server on certain days. There are tasks to be done every Friday. (No Problem) There are tasks to be done on the 1st and 15th of the month. (No Problem) I have no problem checking today's date against those conditions. Where I'm running into problems is checking today's date against specific days of the month. Example: How can I tell if today is the last Tuesday of the month? Last Thursday of the month? etc... I found this scri