<PackageReference Include="NLog" Version="6.0.7" />

NLog.LayoutRenderers.TimeLayoutRenderer

The time in a 24-hour, sortable format HH:mm:ss.mmmm.
public CultureInfo Culture { get; set; }

Gets or sets the culture used for rendering.

public bool Invariant { get; set; }

Gets or sets a value indicating whether to output in culture invariant format

public bool UniversalTime { get; set; }

Gets or sets a value indicating whether to output UTC time instead of local time.