C# convert datetime to WCF datetime format

Viewed 2575

I parse c# object that has DateTime property with JsonNet and then I post it to the server. But it returns that the date format is wrong. It request to be with format like this:

"/Date(1327572000000-1000)/"

How can I convert c# DateTime to this format?

2 Answers
Related