Microsoft
70-518 · Question #26
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to add a feature to the application. The application will be used in several…
The correct answer is B. DateTimeOffset. See the full explanation below for the reasoning.
Question
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to add a feature to the application. The application will be used in several different locales. The application will send data to a centralized server and log the date and time information. You need to ensure that the date and time information includes the local Universal Time Coordinate (UTC) offset value. Which class should you use?
Options
- ACultureInfo
- BDateTimeOffset
- CCulturelnfoConverter
- DDateTimeOffsetConverter
How the community answered
(58 responses)- A14% (8)
- B78% (45)
- C5% (3)
- D3% (2)
Community Discussion
No community discussion yet for this question.