I'm new to JSON and from what I've read it seems pretty difficult to send a date. I need to send several dates using PHP.

I also need to send an image which I'm thinking would be best done using a base64 encoded string. Is there a better way?

Thanks in advance.