# getTimestamp

engine/Source/Core/getTimestamp.js 1
Gets a timestamp that can be used in measuring the time between events. Timestamps are expressed in milliseconds, but it is not specified what the milliseconds are measured from. This function uses performance.now() if it is available, or Date.now() otherwise.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.