Method MicrosecondsFromTimestamp
- Namespace
- AvroSharp.Serialization
- Assembly
- AvroSharp.dll
MicrosecondsFromTimestamp(DateTimeOffset)
Converts an instant to a timestamp-micros, truncating sub-microsecond ticks.
public static long MicrosecondsFromTimestamp(DateTimeOffset timestamp)
Parameters
timestampDateTimeOffsetThe instant; its offset is taken into account.