How can I create a date string in PHP that can be read by .NET's non standard date format:
eg Given this PHP code:
$fetch = mysql_query("SELECT birthday FROM people");
while ($row = mysql_fetch_array($fetch, MYSQL_ASSOC)) {
$birthday = $row['birthday'];
$json = ??? // some way to convert it to the .net json format
}
How can I manipulate that PHP date to return this style of JSON as expected by C#/.Net's json deserialize method:
{"birthday":"\/Date(1331550000000)\/"}