DateTime
(1)
WCF
(1)
Database
(1)
LocalTime
(1)
McCarter
(1)
Utc
(1)
PST
(1)

Serilization of DateTime in WCF

Asked By dotNetDave
02-Feb-10 02:16 PM
I have business entity objects that I send out via a WCF service. Most of
these objects have DateTime properties. We store all of these values in our
database as PST but we have customers in all the time zones in North America.

The issue is that no time zone offset is being serilized along with the date
and time when it goes across the wire. I even set the DateTime Kind to
LocalTime or Utc and it still does not make a difference.

Any suggestions? Thanks.
David


======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://codingstandards.notlong.com

dotNetDave wrote:Well, it looks like you are going to have to do the offset on

Mr. Arnold replied to dotNetDave
02-Feb-10 02:32 PM
Well, it looks like you are going to have to do the offset on the client
side.
Post Question To EggHeadCafe