Home > @magiclane/maps-sdk > RouteBookmarks > getTimestamp

RouteBookmarks.getTimestamp() method

UTC timestamp of when the route was saved.

Signature:

getTimestamp(index: number): Date | null;

Parameters

Parameter

Type

Description

index

number

Index of the route in the current sort order.

Returns:

Date | null

UTC timestamp when the route was saved, or null if not available.