<?php function lastWeekDay ($mnt) { $result = strtotime("last day of $mnt"); return $result; } echo date('d-M-Y', lastWeekDay('Apr 2013'));
You have javascript disabled. You will not be able to edit any code.