ToUniversalTime()

DateTimeOffset::ToUniversalTime() const method

Converts current object to a object that represents the UTC time,.

DateTimeOffset System::DateTimeOffset::ToUniversalTime() const

Return Value

Current DateTimeOffset object converted to UTC-time.

See Also