Skip to main content

Calculate Date Range

(1 votes, average: 4.00 out of 5)

I was working on a weekly events module ..
At some point I need to be able to get a list of week days by providing only on day, for example if I provide today date I expect the whole week contains today regardless to the current month or years ..

The following example shows how we can do that, with some extra features ..


source code available via flash context menu

Leave a Reply

Your email address will not be published. Required fields are marked *