title: Why can't nlog read the current date
body: <p>I'm using Nlog to write some logging to a textfile. Partial nlog.config:</p>
  
  <pre><code> &lt;target name="file" xsi:type="File" fileName="${basedir}/MBWRunner_log.txt"
               layout="${date} (${level}): ${message}
  Exception: ${exception:format=Method, ToString}"/&gt;
  </code></pre>
  
  <p>Lines in the logfile look like this:</p>
  
  <blockquote>
    <p>0001-01-01 00:00:00 (Trace): MBWRunner started</p>
  </blockquote>
  
  <p>As you can see the date and time are all 0. I have tested {longdate} and {date:format=yyyyMMddHHmmss} with the same result.</p>
  
  <p>The application is a console app, run from an elevated commandline.</p>
  
  <p>Any clues? </p>
  
  <p>[EDIT] I have tested this on 2 machine's within the organisation with the same result. Please help!</p>
  
  <p>Code used:</p>
  
  <pre><code>  static Logger _logger = LogManager.GetCurrentClassLogger();
  
  public static void Log(string message, LogLevel priority)
      {
        LogEventInfo eventinfo = new LogEventInfo(); ;
        eventinfo.Message = message;
        eventinfo.Level = priority;
        Log(eventinfo);
      }
  
  static void Log(LogEventInfo logentry)
  {     
    _logger.Log(logentry);
  }
  </code></pre>