title: How to add a timestamp to TFSBuild.proj?
body: <p>I have a TFSBuild.proj file and I need to add date/time logging for statistics i.e. which parts of the builds take the most time and where can we improve the process. </p>
  
  <p>The build outputs the log to BuildLog.txt. I use the following tags to get custom messages in the BuildLog.txt file, but I need to add a timestamp to each message. </p>
  
  <pre><code>&lt;Message Text="Debug: BeforeGet start: StartTimeGoesHere"&gt;&lt;/Message&gt;
  &lt;Message Text="Debug: BeforeGet end: EndTimeGoesHere"&gt;&lt;/Message&gt;
  </code></pre>
  
  <p>Is it possible to get a timestamp in the message? Is there a MSBuild variable that gets the current datetime value? In the example above, StartTimeGoesHere will be something like "01 Jan 2001 14:10:12" and EndTimeGoesHere will be something like "01 Jan 2001 14:14:43". </p>