According to this DateTime.Now vs. DateTime.UtcNow you store date time information in UTC and show it to user as DateTime.Now. If it is on web application, how does DateTime.Now know about user’s location and adjusts UTC time accordingly? Is location inferred from header information that user passes in?
According to this DateTime.Now vs. DateTime.UtcNow you store date time information in UTC and
Share
As Blake said, it doesn’t.
If a server is calculating the current time for the end user, it must be based on information that user has provided. Otherwise, you typically would use javascript to provide the current date/time reference based on the local machine’s clock.