function mdy($mid = "month", $did = "day", $yid = "year", $mval, $dval, $yval)
{
if(empty($mval)) $mval = date("m");
...
PHP Month Day Year Smart Dropdowns
by https://www.google.com/accounts/o8/id?id=AItOawkrlIWZOJFG_JL2F2-39pufYjElslWtCGU,
September 15, 2011 04:55,
8 refactorings, tagged with time, php, date, code
http://www.snippetsmania.com/