Date Format

Habitify API uses ISO-8601 date format for all requests and responses. Note that this format includes time offsets from UTC.

Example: Your current time is 2021-05-21T07:00:00 and your current time offset is +07:00. So time representation is 2021-05-21T07:00:00+07:00.

yyyy-MM-dd'T'HH:mm:ss±hh:mm

URL Encode your date formatted before adding it to query parameter

Before Encode: 2020-12-02T02:57:33+07:00

After Encode: 2020-12-02T02%3A57%3A33%2B07%3A00

Last updated