LoggingEventData TimeStampUtc Property | Apache log4net™ SDK Documentation

Gets or sets the UTC time the event was logged

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public DateTime TimeStampUtc { get; set; }

    Public Property TimeStampUtc As DateTime
    	Get
    	Set

    public:
    property DateTime TimeStampUtc {
    	DateTime get ();
    	void set (DateTime value);
    }

    member TimeStampUtc : DateTime with get, set

#### Property Value

Type: DateTime
Remarks

The TimeStamp is stored in the UTC time zone.

See Also

#### Reference

LoggingEventData Structure
log4net.Core Namespace