jwdcfdeveloper
Programmer
I am looking for a piece of code or insight on how to write something that can determine the start date and end date for a given week of the month. For instance, if I select today's date (6/30/2005). I should have two numbers returned 26 and 30 (representing Sunday 6/26 and Thursday 6/30), where July 1st and 2nd aren't included because they are not part of the month, though they are part of the week. If anyone has a theory on how to build this (I'd like to encapsulate this function in a CFC) function/CFC, I'd appreciate it.