Question: I am working with Silverlight and I am getting a problem. In my Database I have stored some dates with a format like this yyyy/mm/dd 00:00:00, which means that I store only the year, month and day, getting the time to 00:00:00.

When the client performs an action and sends to the server I get the DateTime.Today which will keep the format of my database date, but when it is sendind I get yyyy/mm/dd 22:00:00, so when my server side function gets the date, it will return no values from the database. 

How can I fix this to get the correct datetime?

Thank you

Answer: 
Use UTC times to make sure you don't run into timezone issues.

You can see if the DateTime is UTC or local based by checking the Kind property, and you can get the current UTC time by DateTime.UtcNow.
DateTime structure is very prone to DST, timezones and cultures when serialising it.

are you serialising it at client side before push it ? what is the difference between client and server timezones ?

I would suggest that you try and consume DateTime.UtcNow and then serialise the data. i prefer to serialise using Invariant culture 

HTH