What is the real difference between the following d,e,f values? What the 'ToUniversalTime()' really do?
var d = DateTime.Now;
var e = d.ToUniversalTime();
var f = e;
Does somebody knows? Thanks.
Remark: we detected differences on an EF query, when the 'Created' field is a datetime sql field, and contains UTC time:
var itemsD = ctx.Log.Where(p => p.Created > d);
var itemsE = ctx.Log.Where(p => p.Created > e);