Microsoft
70-518 · Question #174
You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will store data that includes a time and date stamp. The middle tier of the…
The correct answer is C. DateTimeOffset. See the full explanation below for the reasoning.
Question
You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will store data that includes a time and date stamp. The middle tier of the application is implemented by using Windows Communication Foundation (WCF). The middle tier connects to geographically separated database servers. You need to ensure that the application meets the following requirements;
- Data stored contains time and date information local to the database
server.
- Data stored contains Universal Coordinated Time (UTC).
Which class should you use?
Options
- ADateTime
- BTimeZone
- CDateTimeOffset
- DTimeZonelnfo
How the community answered
(20 responses)- A5% (1)
- B15% (3)
- C80% (16)
Community Discussion
No community discussion yet for this question.