MongoDB has a "date" type. In PHP, this is deserialized to a
MongoDate. In the mongo shell, this is deserialized to ISODate. If
you're seeing ISODates in the shell, that is normal and how dates
should look in the shell. Are you seeing ISODate in PHP? If so, can
you paste a var_dump of the document?
On Oct 3, 6:18 pm, RJ Johnston <
rj.johns...@monthsof.me> wrote:
> Flavio,
>
> Thank you for responding although I don't think this answers my question.
>
> Let me clarify; previously date objects were stored as MongoDate (sec =>
> 1235, usec => 1235).
>
> Now they are stored like ISOdate("yyyy-dd-mm").
>
> I do not know what I did to trigger this alternative save method. Maybe the
> right question is "what do you have to pass a new MongoDate(xxx) object to
> return an ISOdate() object?
>
> I should be able to reverse eng from there and correct.
>
> Thanks
>
> Sent from my iPhone
>
> ------------------------------
>
> <compose-unknown-contact.jpg>RJ <
rjdjohns...@gmail.com>