Level 102
In php? Can you show the code?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am preparing a line chart using an API call. Here is the data:
"data": {
"change": "0.68",
"history": [
{
"price": "4523.569317441848383022",
"timestamp": 1638424500
},
{
"price": "4522.17961002978466675193",
"timestamp": 1638424800
},
]}
I am trying to call the timestamp in an hour and day format. (Timestamp in seconds)
Please or to participate in this conversation.