Date formats
The API returns and expects dates to be ISO 8601 formatted.
Format
Dates returned by the API are adjusted to UTC for convenience ("Z" suffix).
However, you can use any timezone indicator when sending dates to the API.
- Example: "2015-05-06T08:00:58.56Z"
Displaying dates to user
When displaying dates to the user make sure to convert to the user's local timezone.
Â
If you are developing in C#:
JSON.NET parses dates automatically, such as using:
DateTime date = json.Value<DateTime>("date")
To parse a date string explicitly, you can simply use:
DateTime date = DateTime,Parse(datestring);
Â
Â
Copyright Wordbee - Buzzin' Outside the Box since 2008