log4net SDK Reference

LoggingEvent.StartTime Property

Gets the time when the current process started.

[Visual Basic]
Public Shared ReadOnly Property StartTime As Date
[C#]
public static System.DateTime StartTime {get;}

Property Value

This is the time when this process started.

Remarks

The TimeStamp is stored in the local time zone for this computer.

Tries to get the start time for the current process. Failing that it returns the time of the first call to this property.

Note that AppDomains may be loaded and unloaded within the same process without the process terminating and therefore without the process start time being reset.

See Also

LoggingEvent Class | log4net.Core Namespace