title: Can a JSON object returned by PHP contain a date object
body: <p>Is there a way to create a JSON object in PHP that contains a javascript <code>date</code> object? Does <code>json_encode</code> automatically convert PHP's <code>DateTime</code> to Javascript's <code>date</code>?</p>