Vertex Viewer SDK
    Preparing search index...

    Function toProtoTimestamp

    • Converts a JS date type to a google.protobuf.Timestamp. The returned time will be represented as UTC.

      Parameters

      • date: Date

        The date to convert.

      Returns Timestamp