This is a javascript code that I did. It sets the future date of a particular day of the week, in this case Monday. I would like to have it in php. I can probably do it myself with a bit of time but if someone here can do it for me that would be very much appreciated! At the moment, the javascript code use the time set on the user's computer to generate the code. If you could do the php so that it uses a GMT time that would be great. Thanks again for taking up this challenge. var aujourdhui=new Date() jours= aujourdhui.getDay() var nextweek0= new Date() nextweek0.setDate(nextweek0.getDate()+ 1) var nextweek1= new Date() nextweek1.setDate(nextweek1.getDate()+ 0) var nextweek2= new Date() nextweek2.setDate(nextweek2.getDate()+ 6) var nextweek3= new Date() nextweek3.setDate(nextweek3.getDate()+ 5) var nextweek4= new Date() nextweek4.setDate(nextweek4.getDate()+ 4) var nextweek5= new Date() nextweek5.setDate(nextweek5.getDate()+ 3) var nextweek6= new Date() nextweek6.setDate(nextweek6.getDate()+ 2) var month= new Array() month[0]="January" month[1]="February" month[2]="March" month[3]="April" month[4]="May" month[5]="June" month[6]="July" month[7]="August" month[8]="September" month[9]="October" month[10]="November" month[11]="December" switch(jours) { case 6: document.write("Monday "+nextweek6.getDate()+" "+month[nextweek6.getMonth()]+" "+nextweek6.getFullYear()); break; case 5: document.write("Monday "+nextweek5.getDate()+" "+month[nextweek5.getMonth()]+" "+nextweek5.getFullYear()) break; case 4: document.write("Monday "+nextweek4.getDate()+" "+month[nextweek4.getMonth()]+" "+nextweek4.getFullYear()) break; case 3: document.write("Monday "+nextweek3.getDate()+" "+month[nextweek3.getMonth()]+" "+nextweek3.getFullYear()) break; case 2: document.write("Monday "+nextweek2.getDate()+" "+month[nextweek2.getMonth()]+" "+nextweek2.getFullYear()) break; case 1: document.write("Monday "+nextweek1.getDate()+" "+month[nextweek1.getMonth()]+" "+nextweek1.getFullYear()) break; case 0: document.write("Monday "+ nextweek0.getDate()+" "+month[nextweek0.getMonth()]+" "+nextweek0.getFullYear()) break; } Code (markup):