c# - RIA Services + Entities - Date moving 24 hours earlier in client -


I am currently working on a silver program with RIA services and I think a bug (or a new one) is written.

.

In a simple query, I am retrieving an entity model from the server. I have a datetime right in the server side service class (what's in DB), but it is going back 24 hours on the client And maybe 10 hours ...

I do not know why this is so weird.

6/04/2009 12:00:00 AM (Database) Changes in 5/04/2009 2:00:00 and also shows as 5/4/2009 12:00 : 00 o'clock

See attached .....

Is this a bug or a lack of my understanding date?

When you retrieve the date, the date time type Convert to UTC. It should solve your problem.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -