Reputation:
Does anyone know how to convert a NSDate to JSON Date(ticks) to have sent to a .net web service?
Upvotes: 0
Views: 1334
Reputation: 456
I do not see "ticks" in the javascript Date documentation, but based on an earlier question of yours you're after milliseconds since 1970.
[date timeIntervalSince1970] * 1000;
Upvotes: 1