I have two date fields and I cannot figure out what the value of “time” represents, and my initial searching of docs proved unsuccessful.
I am trying to build a test harness where I generate some fake data, but I have no idea how to mock the "time"
field …
Here are example results of actual data from our Knack API calls.
"field_306": {
"date": "08/16/2024",
"date_formatted": "08/16/2024",
"hours": "12",
"minutes": "00",
"am_pm": "AM",
"unix_timestamp": 1723766400000,
"iso_timestamp": "2024-08-16T00:00:00.000Z",
"timestamp": "08/16/2024 12:00 am",
"time": 720
},
"field_1550": {
"date": "08/06/2024",
"date_formatted": "08/06/2024",
"hours": "12",
"minutes": "00",
"am_pm": "AM",
"unix_timestamp": 1722902400000,
"iso_timestamp": "2024-08-06T00:00:00.000Z",
"timestamp": "08/06/2024 12:00 am",
"time": 0
},
I cannot reason out when time
is 720
and when it’s 0
Any idea on what time
is or how I might compute it myself?
any help would be appreciated.
Thanks.