# timestamp Structure

This structure defines Timestamp from gPTP

{% tabs %}
{% tab title="C/C++ Declare" %}

```cpp
typedef struct __declspec (align(1))
{
   uint16_t seconds_msb;
   uint32_t seconds_lsb;
   uint32_t nanoseconds;
}timestamp; 
```

{% endtab %}

{% tab title="Visual Basic .NET Declare" %}

```vbnet
<StructLayout(LayoutKind.Sequential, Pack:=1)> Public Structure timestamp
   Dim seconds_msb As UInt16
   Dim seconds_lsb As UInt32
   Dim nanoseconds As UInt32
End Structure 
```

{% endtab %}

{% tab title="C# .NET Declare" %}

```csharp
[StructLayout(LayoutKind.Sequential,Pack=1)]
public struct timestamp
{
   public UInt16 seconds_msb;
   public UInt32 seconds_lsb;
   public UInt32 nanoseconds;
}
```

{% endtab %}
{% endtabs %}

**Remarks**

| Item         | Description                                                              |
| ------------ | ------------------------------------------------------------------------ |
| seconds\_msb | Most significant portion of Integer value of the time stamp in seconds.  |
| seconds\_lsb | Least significant portion of Integer value of the time stamp in seconds. |
| nanoseconds  | Fractional seconds in nanoseconds                                        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/neovi-api/win32-api-overview-intrepidcs-api/structures-types-and-defines-overview-intrepidcs-api/setting-structures-overview-intrepidcs-api/sub-setting-structures-overview-intrepidcs-api/setting-structures-overview-intrepidcs-api/timestamp-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
