Pssst! You're viewing a post someone added to Genwi.
Genwi brings you updates from your favorite websites and friends, all in one place. Learn more…
Public Wire

php function json_decode()

So I was using the php function php_decode to convert a JSON encoded data result from a web service (More on that later)  But it was choking on the JSON formated data result.  Why?  well, the C# library that I was using to generate the JSON data encoded a DateTime object as              TimePosted: new Date(1221571632000), javascript picks up on the new Date function, but not PHP.  so I had to switch the JSON data result to return the date as a string             TimePosted: 9/16/2008 1:27:12 P....

Read Full Article

Leave a comment