Dates and Time Zone¶
ISO 8601 standard¶
Whole API Pontotel uses the format ISO 8601 to represent dates and times.
Accepted Formats¶
Date and Time with Fuse¶
| Part | Description | Example |
|---|---|---|
YYYY | Year with 4 digits | 2025 |
MM | Month (01-12) | 01 |
DD | Day (01-31) | 31 |
T | Compulsory separator | T |
HH:MM:SS | Time, minute, second | 08:00:00 |
±HH:MM | Zone Offset | -03:00 |
Data Only¶
Used for fields like data_admissao, data_inicio_ferias, etc.
UTC (Zero offset)¶
| Text Only | |
|---|---|
O Z equals +00:00 (UTC).
Time Zone¶
Always tell the time zone
In date/time fields, Always inform the time zone offset. The absence of the spindle can generate markings at incorrect times.
Common Fuses in Brazil¶
| Region | Offset | Example |
|---|---|---|
| Brasília (BRT) | - 03:00. | 2025-01-31T08:00:00-03:00 |
| Acre (ACT) | - 05:00 | 2025-01-31T06:00:00-05:00 |
| Fernando de Noronha | - 02:00. | 2025-01-31T09:00:00-02:00 |
Internal Consistency
Pontotel stores all times in UTC internally, but returns the values with the original spindle reported in the employer's registration.
Practical Examples in Requests¶
Filter Period Markings¶
| HTTP | |
|---|---|
Create correct spindle marking¶
Code Handling¶
==="JavaScript"
| JavaScript | |
|---|---|