How do I write a layout for NLog that outputs time with milliseconds like this 11:32:08:123? I use ${date:format=yyyy-MM-dd HH\\:mm\\:ss} but I need mo
11:32:08:123
${date:format=yyyy-MM-dd HH\\:mm\\:ss}
${longdate}
Another alternative to the format suggested by harriyott is to use the ${longdate} renderer. It should automatically give you the precision you need.