Description Usage Details Value Examples
Produces the website timestamp in GMT.
1 |
Added in version 1.2.0
This function supplies the website timestamp - i.e. the time at which the data
were released to the API and by extension the website. Please note that there
will be a difference between this timestamp and the timestamp produced using
the last_update()
function. The latter signifies the time at which the data
were deployed to the database, not the time at which they were released.
It may take up to 60 seconds for the data to be updated when the release timestamp
(get_release_timestamp()
) is updated. This is because the cache must refresh before
the new data becomes available. The API timestamp (last_update()
), however, is only
updated when the cache has been refreshed. This means that you can only be certain that
you are receiving the most up-to-data data when the last_update()
timestamp for your
specific parameters have been updated.
Note: The output is extracted from the header and is accurate to the miliseconds.
Produces the timestamp for the last update in GMT.
closure Timestamp of the last update.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.