Date Time Model
The Date Time Model – is a model for showing date time parameters like timestamp, time, date, and timezone. Model fields are presented in the table (Table 4.15), with an example below (Listing 4.11).
Table 4.15 – Fields of Date Time Model
№
Key
Type
Exists
Description
1
unix_timestamp
integer
required
Current date time timestamp
2
human_time
string
required
Time in format ‘H:i:s’
3
human_date
string
required
Date in format ‘Y-m-d’
4
timezone
string
required
Always UTC
Listing 4.11 – Example of Date Time Model (JSON)
Last updated