[ create a new paste ] login | about

Link: http://codepad.org/mCOrBDL3    [ raw code | output | fork ]

PHP, pasted on Aug 2:
1
2
3
4
5
6
7
8
<?php
$monday=strtotime("monday this week", mktime(0,0,0, 8, 8, 2012));
    echo date("Y-m-d",$monday);
    // Output: 2012-08-06



?>


Output:
1
2012-08-13


Create a new paste based on this one


Comments: