System::DateTimeOffset::FromUnixTimeMilliseconds method

DateTimeOffset::FromUnixTimeMilliseconds method

Convert Unix-time to DateTimeOffset object.

static DateTimeOffset System::DateTimeOffset::FromUnixTimeMilliseconds(int64_t milliseconds)
ParameterTypeDescription
millisecondsint64_tUnix-time (number of milliseconds elapsed from 1970-01-01).

ReturnValue

Date and time with zero offset.

See Also