BillioAbratzzi
New Member
I have the following code:\[code\]$value = 'http://stackoverflow.com/questions/10556960/2012-03-05';$parts = explode('-',$value);$value = http://stackoverflow.com/questions/10556960/mktime(0,0,0,$parts[1],$parts[0],$parts[2]);// output of $value is 2012 ??\[/code\]Shouldn't mktime() return something like a time() output?What is wrong with my code?