Preserving DateTime values in DataSet returned from WCF service

I am returning a DataSet from a WCF web service to the client. The server and client are in different time zones. Some DateTime columns are the server's local time, others are in UTC.

The problem is the DateTime values in the returned DataSet get converted to client's local time. Is there a way to preserve the DateTime values that the server is sending back?


Return DateTimeOffset.

Need Your Help

What kind of SQL join would this be?

sql expressionengine

I need to go to two tables to get the appropriate info

What are Nullable Types in C#?


int? _fileControlNo = null;

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.