Table of Contents

Method FromTimestamp

Namespace
Bonsai.Osc
Assembly
Bonsai.Osc.dll

FromTimestamp(DateTimeOffset)

Converts a date time object relative to UTC into an OSC time tag.

public static ulong FromTimestamp(DateTimeOffset timestamp)

Parameters

timestamp DateTimeOffset

A DateTimeOffset specifying a point in time relative to UTC.

Returns

ulong

The OSC time tag corresponding to the specified DateTimeOffset.