- mktime: documentation ( source)
- date: documentation ( source)
<?php
/* Labels */
$monthlabel = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
/* Values */
$monthvalue = date("Y&month=n",$monthlabel);
echo date($monthlabel);
echo $monthvalue;