How to gey the date of a week day

Anyone knows how to get the date of a given day in a week of a year? For example what is the date of the monday in week 40 of year 2011
Thanks

Too lazy to think about it now… :)
But download the DateUtils plugin from Dr Maison, it has a lot of nice features and it’s free: Servoy-Plugins.de - DateUtils plugin.

When using Greg Pierce’s mod_datejs you can use the following syntax:

var _dDate = new Date().moveToDayOfWeek(1).setWeek(40);

Mod_datejs is based on the open source datejs library.
Look here for the full API.

Hope this helps.