Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/api/audiodata/timestamp/index.md
6538 views
---
title: AudioData.timestamp slug: Web/API/AudioData/timestamp page-type: web-api-instance-property status: - experimental browser-compat: api.AudioData.timestamp
---

{{APIRef("WebCodecs API")}}{{SeeCompatTable}}

The duration read-only property of the {{domxref("AudioData")}} interface returns the timestamp of this AudioData object.

Value

An integer.

Examples

The below example prints the value of timestamp to the console.

console.log(AudioData.timestamp);

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}