When getting a "DATE" attribute from the database the OData is:
[updated] => DateTime Object
(
[date] => 47055-02-12 00:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)
if we convert this format back to a string it s not correct because the year is 47055.
The date field should be something like: 2015-02-07 12:12:12.00000
When getting a "DATE" attribute from the database the OData is: [updated] => DateTime Object ( [date] => 47055-02-12 00:00:00.000000 [timezone_type] => 1 [timezone] => +00:00 )
if we convert this format back to a string it s not correct because the year is 47055. The date field should be something like: 2015-02-07 12:12:12.00000