Welcome Guest, Not a member yet? Register   Sign In
need with date input?
#11

[eluser]newbie boy[/eluser]
I got the solution:

in the model controller this must go:

Code:
$calendar = $data['day']."/".$data['month']."/".$data['year'];
      $date = explode("/",$calendar);
            
     $this->birthday    = date("Y/m/d",mktime(0,0,0,$date[1],$date[0],$date[2]));

hope this can help you too.




Theme © iAndrew 2016 - Forum software by © MyBB