Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


timestamp

Timestamp of when the location data was last updated.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public double timestamp { get; }

Remarks

The unit and epoch of the timestamp value vary per platform:
  • Android, iOS: The timestamp is the number of seconds since the Unix epoch (January 1, 1970, UTC).
  • Web: The timestamp is the number of milliseconds since the Unix epoch (January 1, 1970, UTC).
  • UWP: The timestamp is the number of 100-nanosecond intervals since January 1, 1601 (UTC).