title: Custom date format with NLog
body: <p>It appears to me as tho the in-built date formats in NLog do not include the timezone correctly.  We need to log UTC time WITH the trailing Z so that Splunk knows what the local time is, eg:</p>
  
  <p>{date:universalTime=true:format=yyyy-MM-dd HH:mm:ss.ffffZ}</p>
  
  <p>This produces the correct dates we need.</p>
  
  <p>Rather than inserting this in all our configs across multiple apps, I'd prefer to define a variable that will do this, eg:</p>
  
  <p>{ourdate}</p>
  
  <p>I've had a hack around but I cant figure out how to do this.  Is it possible?</p>
  
  <p>Thanks</p>
  
  <p>PS.  {longdate} does include the timezone but it drops the milliseconds.</p>