Time Zone

The date and time specified in either the request parameters or the date or time attributes returned in the API responses are in UTC, unless a time zone is specified in an HTTP header.

Header NameValue
X-Time-Zone

We support the following values in the X-Time-Zone header:

Header ValueUTC OFFSET
Atlantic Time (Canada)UTC -4, uses DST
Eastern Time (US & Canada)UTC -5, uses DST
Indiana (East)UTC -5, no DST
Central Time (US & Canada)UTC -6, uses DST
SaskatchewanUTC -6, no DST
Mountain Time (US & Canada)UTC -7, uses DST
ArizonaUTC -7, no DST
Pacific Time (US & Canada)UTC -8, uses DST
AlaskaUTC -9, uses DST
curl -H 'X-Api-Key: 24eb4181-ee55-446b-a25b-b39777cf4d8d' -H 'X-Time-Zone: Alaska' 'https://api.keeptruckin.com/v1/users'