I'm placed in a situation where my program has 2 integrations towards 3rd party systems. The integrations consists of 1) XML protocol over TCP/IP and 2) Webservices made in WCF.
In either case the integration partner needs the TimeStamps / DateTimes I pass to them to contain information about the TimeZone and Daylight Savings, so they can display the correct time regardless of their customers TimeZone / Position.
I'd rather not change the current protocol, in either cases they expect DateTime, so my question is: Is it possible to pass the TimeZone and Daylight Savings information as a part of the DateTime?
Right now my timestamps looks like this:
2011-04-27T15:14:13.963
I would love to have it look something like this (I'm located in Denmark so we use CEST) and be able to transfer the information with a DateTime object
2011-04-27T15:14:13.963 +01:00
However I do not know how I should accomplish this nor take into account the Daylight Savings Factor