classes/Fields/Datetime.php
public function value($value)
    {
        // Set the value using parent, so that if there is already one specified
        // from populate or POST
        parent::value($value);

        // Set the value of the subfields
        $this->date->value($value);
        $this->time->value($value);

        // Chainable
        return $this;
    }
public function value($value)
    {
        // Set the value using parent, so that if there is already one specified
        // from populate or POST
        parent::value($value);

        // Set the value of the subfields
        $this->date->value($value);
        $this->time->value($value);

        // Chainable
        return $this;
    }
public function value ( $ value ) { // Set the value using parent, so that if there is already one specified // from populate or POST parent :: value ( $ value ) ; // Set the value of the subfields $ this -> date -> value ( $ value ) ; $ this -> time -> value ( $ value ) ; // Chainable return $ this ; }
Massage inputted string values into dates

@param  string $value A new value
@return $this
Massage inputted string values into dates