microsOfSecond

microsOfSecond returns the number of microseconds that have elapsed since the top of the second.

Syntax

Parameters

ParameterTypeDescription
instantInstant

The date-time from which to return the elapsed time.

timeZoneZoneId

The time zone.

dateTimeZonedDateTime

The date-time from which to return the elapsed time.

Returns

The number of microseconds that have elapsed since the start of the second represented by the provided date-time.

Note

Microseconds are rounded, not dropped.

Examples