ERROR:

Internally stored date/time/timestamp value could not be converted to
DateTime: '20/01/2010' [wrapped: DateTime::__construct() [<a
href='datetime.--construct'>datetime.--construct</a>]: Failed to parse
time string (20/01/2010) at position 0 (2): Unexpected character]
stack trace

    * at ()
      in SF_ROOT_DIR/lib/model/om/BaseSolicitudes.php line 346 ...
             343.         try {
             344.             $dt = new DateTime($this->fecha);
             345.         } catch (Exception $x) {
             346.             throw new PropelException("Internally
stored date/time/timestamp value could not be converted to DateTime:
" . var_export($this->fecha, true), $x);

*****************************************************************************************
Hello,

I get this error when I try to get any date of a database with
encoding LATIN1 and date format d/m/Y.
I think the problem is the character "/" in database format.

How can I do?

Thank you.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to