Whenever you need to specify or have the API send you a date and time, it will be in the ISO 8601 YYYY-MM-DDTHH:MM:SSZ format (i.e. 2016-03-19T13:15:32Z) where:
All times from the API have both a date and time. You must pass a time part in all inputs, even if it's 00:00:00.
All times from the API are in UTC. Similarly, all time inputs are expected in a UTC timezone.
Some parts of the API, like the retention field in
cameras/, use duration to denote a
span of time (i.e. "30 days" or "2 months"). We use the standard ISO 8601 duration format which uses the
P[n]Y[n]M[n]DT[n]H[n]M[n]S format. Here are a few examples of various durations: