TimeInNanos - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Contains a timestamp with optional nanosecond granularity.



The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

Type: Long

Valid Range: Minimum value of 1. Maximum value of 9223372036854774.

Required: Yes


The nanosecond offset from timeInSeconds.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 999999999.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: