Back to Content

PushSubscription: expirationTime property

files/en-us/web/api/pushsubscription/expirationtime/index.md

latest456 B
Original Source

{{APIRef("Push API")}}{{SecureContext_Header}}{{AvailableInWorkers}}

The expirationTime read-only property of the {{domxref("PushSubscription")}} interface returns a {{domxref("DOMHighResTimeStamp")}} of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.

Value

A {{domxref("DOMHighResTimeStamp")}} or null.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}