You are not logged in.
Pages: 1
Hi,
I was using the API to retrieve metadata of an asset. One of the metadata is a date - "uploaddate" and I am getting the following value back.
"uploaddate": [
{
"value": 1440671331,
"inherit": false,
"override": false,
"depth": 0
}
]
How do I convert the value "1440671331" to a date?
Thanks
Offline
Hi,
That's a Unix timestamp ('epoch'). Rather than me explaining it, this page has a good overview plus a number of small snippets showing how to convert an epoch to human readable date:
Cheers,
—S
Offline
That explains it, thanks for the quick response!
Offline
Pages: 1