FromUnixTimeMilliseconds()

DateTimeOffset::FromUnixTimeMilliseconds(int64_t) method

Convert Unix-time to DateTimeOffset object.

static DateTimeOffset System::DateTimeOffset::FromUnixTimeMilliseconds(int64_t milliseconds)

Arguments

ParameterTypeDescription
millisecondsint64_tUnix-time (number of milliseconds elapsed from 1970-01-01).

Return Value

Date and time with zero offset.

See Also