This may be a time zone issue. All dates are stored in the database as UTC, but you're using System.DateTime.Now which could be in another time zone. Try using System.DateTime.UtcNow and see if that gives you different results.
|
2 | added 4 characters in body | ||
|
|
||||
|
1 |
|
||
|
This may be a time zone issue. All dates are stored in the database as UTC, but you're using System.DateTime.Now which could be in another time zone. Try using System.DateTime.UtcNow and see if that gives you different results. |
||||