---
title: GeolocationPosition.timestamp
slug: Web/API/GeolocationPosition/timestamp
tags:
  - API
  - Geolocation API
  - GeolocationPosition
  - Property
  - Secure context
  - timeStamp
browser-compat: api.GeolocationPosition.timestamp
---
{{securecontext_header}}{{APIRef("Geolocation API")}}

The **`GeolocationPosition.timestamp`** read-only property returns a {{domxref("EpochTimeStamp")}} object that represents the date and time that the position was acquired by the device.

## Value

An {{domxref("EpochTimeStamp")}} object instance indicating the time that the position was acquired.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Using the Geolocation API](/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API)
- {{domxref("GeolocationPosition")}}
