Printing the week

public function pretty_monday() {

  $time = strtotime(((date('w')!=1)?'previous ':'').'monday');
  return date('F jS',$time).'-'.date('jS',strtotime('6 days',$time ));
}

Let’s keep in touch

Get noise-free updates on software, product, and process.

Hey, I'm RJ: digital entomologist and intermittent micropoet, writing from the beautiful Rose City.