getting hour part and time-zone part from datetime
<p>I had a string in config file, defining date time with time zone.
I am not able to get this value, while reading values from config file.</p>

<p>In config file:</p>

<pre><code>Setting name="abcdefgh" value="2012-08-10T22:00:00-08:00"
</code></pre>

<p>In C#, I am reading this as follows:</p>

<pre><code> DateTime StartDate;

 StartDate = DateTime.ParseExact(RoleEnvironment.GetConfigurationSettingValue("abcdefgh"), "yyyy-MM-dd HH:mm:ss", null);
            Configuration.Instance.abcdefgh= StartDate;
</code></pre>

<p>In start date, i am getting 11 Aug, 2012 11:30:00, with no time zone.</p>

<p>I want to read it as it is. also tell, if my format of writing datetime in config file is correct</p>
