get localtime of DateTime in System.Diagnostics.Trace
<p>I've defined some listeners in my app.config + adding traceOutputOptions with a DateTime. It's totally fit my needs of no extra package (log4net)/no extra config. </p>

<p>But the DateTime in the file are UTC ones which make then often hard to "quick read" &amp; compare. Is there any way to force the output in localtime without overriding the default trace system ?</p>

<pre><code>&lt;trace autoflush="true" indentsize="4"&gt;
      &lt;listeners&gt;
        &lt;add name="delimitedListener" type="System.Diagnostics.DelimitedListTraceListener" delimiter=";" initializeData="output.log" traceOutputOptions="DateTime"&gt;
            &lt;filter type="System.Diagnostics.EventTypeFilter" initializeData="Warning"/&gt;
        &lt;/add&gt;
        &lt;add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener"/&gt;
        &lt;remove name="Default" /&gt;
      &lt;/listeners&gt;
    &lt;/trace&gt;
</code></pre>