The offset is taken into consideration when converting the value (so the same instant in time
is represented) but is not a separate part of the resulting value. In other words, there is no
roundtrip operation to retrieve the original DateTimeOffset.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eTimeExtensions class offers extension methods for converting BCL time-related types to protobuf types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eToDuration\u003c/code\u003e method converts a \u003ccode\u003eTimeSpan\u003c/code\u003e to a \u003ccode\u003eDuration\u003c/code\u003e protobuf type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eToTimestamp\u003c/code\u003e method converts a \u003ccode\u003eDateTime\u003c/code\u003e or \u003ccode\u003eDateTimeOffset\u003c/code\u003e to a \u003ccode\u003eTimestamp\u003c/code\u003e protobuf type.\u003c/p\u003e\n"],["\u003cp\u003eConverting a \u003ccode\u003eDateTimeOffset\u003c/code\u003e to \u003ccode\u003eTimestamp\u003c/code\u003e takes the offset into account, but the original offset cannot be retrieved after the conversion.\u003c/p\u003e\n"]]],[],null,[]]