php - Get date from monday depending on week number -


i can`t figure out code date monday depending on week number of year.

could me code?

thanks.

this provide monday of week year:

$thisyear = date('y'); $weeknum = 40;  $date = date('y-m-d', strtotime("$thisyear-w$weeknum-1"));  // outputs 2013-09-30 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -