I am running on a Win2003 server, TimeZone set to (GMT -06:00) Central Time. I am programming with VS.NET 2005, f/x 2.x. When I execute the following code I do not get the expected results - but only when it is on the PROD server. Any other machine appears to work correctly.
_response.Timestamp = DateTime.Now;
Is there a setting hidden somewhere that can do this to .NET web apps? I looked through all the configs I could find but did not see anything right off.
NOTE: This is happening on all of our servers...
NOTE: I tried using a date passed in to my page:
[parameter 3] (Date): Thu Nov 05 22:23:16 MST 2009 // Web client time
LastPlayed (Date): Fri Nov 06 05:23:16 MST 2009 // Simple boxing of value
public class FlashObject
{
#region Declarations
public DateTime LastPlayed;
public List<PlayList> Characters;
public List<PlayList> Variations;
#endregion
}
The above object is simply hydrated like this:
internal static void GetPlayer(FlashObject flashObject, DateTime clientPlayTime)
Notice they are both in MST (Mountain Standard Time)!! :(