Format from ticks to date
<p>I am needing to transfer some logs which were timestamped in ticks to an XML document. I would prefer the timestamps to be more Specific such as "July 14, 2009 10:18:04 pm"</p>

<p>I was planning to using something along the line of:</p>

<pre><code>DateTime logDate = DateTime.Parse(logText);
logDate.ToString("MMM dd yyyy hh:mm:ss tt");
</code></pre>

<p>I figured this would be OK as DateTime.Now.Ticks is how you can get ticks. It is however returning that it is not a proper DateTime format. during setting logDate.</p>

<p>I am sure there is a simple solution but I just can't come across it.</p>
