I store DateTimeOffset in the SqlServer, for example, the field is CreateDate, I want to use AutoQuery to query the data.
But when i send date time from JavaScript, for example: “2015-5-10”, I can not get the data in that day, because AutoQuery can not add timezone to the date.
the datetimeoffset in the sqlserver is like this “2015-05-28 00:00:00.0000000 +08:00”
But AutoQuery datetimeoffset miss +08:00 when it get date from javascript.
I hope i have explain my question clearly. How could i compare date between JS and C#.